createAuthRequest

suspend fun createAuthRequest(requestOptions: WalletService.RequestOptions, credentialIssuer: String? = null): AuthenticationRequestParameters

Send the result as parameters (either POST or GET) to the server at /authorize (or more specific IssuerMetadata.authorizationEndpointUrl)

Parameters

requestOptions

which credential in which representation to request


suspend fun createAuthRequest(scope: String, credentialIssuer: String? = null, state: String = uuid4().toString()): AuthenticationRequestParameters

Send the result as parameters (either POST or GET) to the server at /authorize (or more specific IssuerMetadata.authorizationEndpointUrl).

Parameters

scope

Credential to request from the issuer, may be obtained from IssuerMetadata.supportedCredentialConfigurations, or SupportedCredentialFormat.scope.