AuthorizationService
Provides interface for implementing an OAuth 2.0 Authorization Server, which may be used with an at.asitplus.wallet.lib.oidvci.OAuth2AuthorizationServerAdapter for a at.asitplus.wallet.lib.oidvci.OpenId4VciServer.
Inheritors
Functions
Builds the authentication response for this specific user from loadUserFun. Send this result converted with AuthenticationResponseResult.Redirect.toHttpResponse.
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.