credential
suspend fun credential(authorizationHeader: String, params: CredentialRequestParameters): CredentialResponseParameters
Verifies the authorizationHeader to contain a token from tokenService, verifies the proof sent by the client (must contain a nonce from clientNonceService), and issues credentials to the client. Send the result JSON-serialized back to the client.
Parameters
authorization Header
The value of HTTP header Authorization sent by the client
params
Parameters the client sent JSON-serialized in the HTTP body