JwtTokenVerificationService

class JwtTokenVerificationService(    nonceService: NonceService,     issuerKey: JsonWebKey,     verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(),     clock: Clock = System,     timeLeeway: Duration = 5.minutes) : TokenVerificationService(source)

Verifies JWT tokens that have been generated by JwtTokenGenerationService, as OpenId4VciAccessToken.

Implemented from OAuth 2.0 Demonstrating Proof of Possession (DPoP)

Constructors

Link copied to clipboard
constructor(    nonceService: NonceService,     issuerKey: JsonWebKey,     verifierJwsService: VerifierJwsService = DefaultVerifierJwsService(),     clock: Clock = System,     timeLeeway: Duration = 5.minutes)

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