BearerTokenGenerationService
class BearerTokenGenerationService(nonceService: NonceService = DefaultNonceService(), accessTokenToValidatedAccessToken: MapStore<String, ValidatedAccessToken> = DefaultMapStore(), refreshTokenToValidatedAccessToken: MapStore<String, ValidatedAccessToken> = DefaultMapStore(), issueRefreshToken: Boolean = false) : TokenGenerationService(source)
Simple bearer token generation (just a nonce) for an OAuth 2.0 authorization server.
Constructors
Link copied to clipboard
constructor(nonceService: NonceService = DefaultNonceService(), accessTokenToValidatedAccessToken: MapStore<String, ValidatedAccessToken> = DefaultMapStore(), refreshTokenToValidatedAccessToken: MapStore<String, ValidatedAccessToken> = DefaultMapStore(), issueRefreshToken: Boolean = false)
Functions
Link copied to clipboard
open suspend override fun buildToken(httpRequest: RequestInfo?, userInfo: OidcUserInfoExtended, authorizationDetails: Set<AuthorizationDetails>?, scope: String?, validatedClientKey: JsonWebKey?): TokenResponseParameters
Builds an access token, probably with a refresh token. Input parameters are assumed to be validated already.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard