OAuth2IssuerCredentialDataProvider

Adapter implementation to convert userInfo obtained from an OAuth2AuthorizationServer into credentials needed by IssuerCredentialDataProvider.

Constructors

Link copied to clipboard
constructor(userInfo: OidcUserInfoExtended, clock: Clock = Clock.System)

Functions

Link copied to clipboard
open override fun getCredential(subjectPublicKey: CryptoPublicKey, credentialScheme: ConstantIndex.CredentialScheme, representation: ConstantIndex.CredentialRepresentation, claimNames: Collection<String>?): KmmResult<CredentialToBeIssued>