OAuth2AuthorizationServer

Used by CredentialIssuer to obtain user data when issuing credentials using OID4VCI.

Inheritors

Properties

Link copied to clipboard
abstract val publicContext: String

Used in several fields in IssuerMetadata, to provide endpoint URLs to clients.

Functions

Link copied to clipboard
abstract suspend fun getUserInfo(accessToken: String): KmmResult<OidcUserInfo>

Get the OidcUserInfo associated with the accessToken, that was created before at the Authorization Server.

Link copied to clipboard
abstract suspend fun providePreAuthorizedCode(): String?

Provide a pre-authorized code (for flow defined in OID4VCI), to be used by the Wallet implementation to load credentials.

Link copied to clipboard
abstract suspend fun verifyAndRemoveClientNonce(nonce: String): Boolean