ProvisioningBackendProvider

Interface that acquires and manages an instance of ProvisioningBackend.

Note: currently a direct access to ProvisioningBackend is not required, so this interface proxies access to it, caching information as needed.

Inheritors

Properties

Link copied to clipboard

Provides required CoroutineContext data to communicate with the objects returned by this interface or acquired through them.

Functions

Link copied to clipboard
suspend fun ProvisioningBackendProvider.createOpenid4VciIssuingAuthorityByUri(credentialIssuerUri: String, credentialConfigurationId: String): IssuingAuthority

Creates an Issuing Authority by the credentialIssuerUri and credentialConfigurationId, caching instances. If unable to connect, suspend and wait until connecting is possible.

Link copied to clipboard
Link copied to clipboard
abstract suspend fun getIssuingAuthority(issuingAuthorityId: String): IssuingAuthority
Link copied to clipboard
abstract suspend fun makeDeviceAssertion(assertionFactory: (attestationChallenge: String) -> Assertion): DeviceAssertion