CredentialAuthorizationServiceStrategy

Provide authentication and authorization for credential issuance.

Constructors

Link copied to clipboard
constructor(dataProvider: OAuth2DataProvider, credentialSchemes: Set<ConstantIndex.CredentialScheme>)
constructor(credentialScheme: Set<ConstantIndex.CredentialScheme>)

Functions

Link copied to clipboard

Return all valid credential identifiers for all schemes.

Link copied to clipboard

Filter requested authorization details in token requests to ones valued for credential issuance

Link copied to clipboard
open override fun filterScope(scope: String): String?

Filter the requested scope in the access token request to ones valid for credential issuance

Link copied to clipboard
open suspend override fun loadUserInfo(request: AuthenticationRequestParameters, code: String): OidcUserInfoExtended?
Link copied to clipboard

Return all valid authorization details for pre-authorized codes, that the client may use in token requests

Link copied to clipboard
open override fun validScopes(): String

Return all valid scopes for pre-authorized codes, that the client may use in token requests