BearerTokenVerificationService

class BearerTokenVerificationService(    nonceService: NonceService,     tokenGenerationService: BearerTokenGenerationService) : TokenVerificationService(source)

Verifies Bearer tokens that have been generated by BearerTokenGenerationService. This does only work for internal authorization servers, because we could not store the actual user data otherwise.

Constructors

Link copied to clipboard
constructor(nonceService: NonceService, tokenGenerationService: BearerTokenGenerationService)

Functions

Link copied to clipboard
open suspend override fun validateRefreshToken(refreshToken: String, request: RequestInfo?): String
Link copied to clipboard
open suspend override fun validateTokenExtractUser(authorizationHeader: String, request: RequestInfo?): ValidatedAccessToken