validateTokenForTokenExchange

abstract suspend fun validateTokenForTokenExchange(subjectToken: String): ValidatedAccessToken(source)

Validates the subject token (that is a token sent by a third party) for token exchange) is one issued from TokenGenerationService. Callers need to authenticate the client before calling this method.