RemoteOAuth2AuthorizationServerAdapter
Uses an external OAuth 2.0 Authorization Server with a at.asitplus.wallet.lib.oidvci.CredentialIssuer, i.e., delegate authorization to the external AS, and load user info from there (after performing token exchange with the Wallet's access token to get a fresh one). Make sure to configure oauth2Client to use the correct OAuth2KtorClient.loadClientAttestationJwt.
Constructors
Properties
Used to provide DPoP nonces for credential requests, which will be verified by internalTokenVerificationService.
Validates access tokens received in validateAccessToken.
Base URL of the remote Authorization Server.
Functions
Obtains a JSON object representing at.asitplus.openid.OidcUserInfo from the Authorization Server, where we need to exchange the the wallet's access token in authorizationHeader first to get a valid access token to call the user info endpoint.