SimpleQtspAuthorizationService
Potential UC5: Simple wrapper for at.asitplus.wallet.lib.oauth2.SimpleAuthorizationService which uses QtspAuthorizationServiceStrategy
Properties
Used in several fields in at.asitplus.openid.IssuerMetadata, to provide endpoint URLs to clients.
Functions
Builds the authentication response for this specific user from loadUserFun. Send this result converted with AuthenticationResponseResult.Redirect.toHttpResponse.
If this is an internal AS, provide a fresh DPoP nonce for clients.
Obtains information about the token, either by performing token introspection, or by decoding the access token directly (if it is an at.asitplus.wallet.lib.oauth2.OpenId4VciAccessToken).
Obtains a JSON object representing at.asitplus.openid.OidcUserInfo from the Authorization Server, with the wallet's access token in authorizationHeader (which the implementation may need to exchange at the AS first).
Provide necessary OAuth2AuthorizationServerMetadata JSON for a client to be able to authenticate.
Pushed authorization request endpoint as defined in RFC 9126. Clients send their authorization request as HTTP POST with application/x-www-form-urlencoded to the AS.
Verifies the authorization code sent by the client and issues an access token. Send the result of SimpleAuthorizationService.tokenWithDpopNonce converted with toHttpResponse(), which sets the headers the token response needs.
Returns the user info associated with this access token, when the token in authorizationHeader is correct.
Validates the access token sent to OpenId4VciServer.credential.