credential
Verifies the authorizationHeader to contain a token from authorizationService, verifies the proof sent by the client (must contain a nonce sent from authorizationService), and issues credentials to the client by calling credentialDataProvider.
Callers need to send the result as HTTP status code 200 back to the client, see CredentialResponse.
Return
If the result is an instance of OAuth2Exception send OAuth2Exception.toOAuth2Error back to the client, except for instances of OAuthAuthorizationError
Parameters
value of HTTP header Authorization sent by the client, with all prefixes
Parameters the client sent in the HTTP body, either JSON serialized or as a string, see WalletService.CredentialRequest.parse
Extract data from the authenticated user and prepares it for issuing
information about the HTTP request the client has made, to validate authentication
Deprecated
Use [credential] with [WalletService.CredentialRequest] instead