OAuth2IssuerCredentialDataProvider
class OAuth2IssuerCredentialDataProvider(userInfo: OidcUserInfoExtended, clock: Clock = Clock.System) : IssuerCredentialDataProvider(source)
Adapter implementation to convert userInfo obtained from an OAuth2AuthorizationServer into credentials needed by IssuerCredentialDataProvider.
Functions
Link copied to clipboard
open override fun getCredential(subjectPublicKey: CryptoPublicKey, credentialScheme: ConstantIndex.CredentialScheme, representation: ConstantIndex.CredentialRepresentation, claimNames: Collection<String>?): KmmResult<CredentialToBeIssued>