buildAuthorizationDetails

fun buildAuthorizationDetails(credentialConfigurationId: String, authorizationServers: Set<String>? = null): Set<AuthorizationDetails.OpenIdCredential>(source)

Build authorization details for use in OAuth2Client.createAuthRequest.

Parameters

credentialConfigurationId

which credentials to request, i.e. one of the keys from IssuerMetadata.supportedCredentialConfigurations, or from CredentialOffer.configurationIds

authorizationServers

fun buildAuthorizationDetails(credentialConfigurationIds: Set<String>, authorizationServers: Set<String>? = null): Set<AuthorizationDetails.OpenIdCredential>(source)

Build authorization details for use in OAuth2Client.createAuthRequest.

Parameters

credentialConfigurationIds

which credentials to request, i.e. filtered keys from IssuerMetadata.supportedCredentialConfigurations, or from CredentialOffer.configurationIds

authorizationServers