Enumerations
RetrieveCredentialsErrorTypes
Errors that fail the whole retrieval call.
Distinct from RetrieveCredentialErrorType, which reports a single credential failing within an otherwise
successful call.
Enumeration members
| Name | Value | Description |
|---|---|---|
AuthenticationCanceled | "AuthenticationCanceled" | The holder canceled authentication. |
ConnectivityError | "ConnectivityError" | The issuer could not be reached. Usually a transient network problem, so this is worth retrying. |
FailedToDiscoverCredentialOffer | "FailedToDiscoverCredentialOffer" | The offer's metadata could not be resolved, for example because the issuer returned an unexpected response when asked for it. |
FailedToRetrieveCredentials | "FailedToRetrieveCredentials" | Retrieval failed for an unexpected reason. |
InvalidCredentialOffer | "InvalidCredentialOffer" | The credential offer is invalid or malformed. |
InvalidLicense | "InvalidLicense" | The SDK licence failed to validate, or an existing licence has expired. Re-initialize the SDK to obtain a new one, and contact MATTR support if it persists. |
InvalidTransactionCode | "InvalidTransactionCode" | The transaction code is invalid or malformed. Check it against the offer's DiscoveredCredentialOffer.transactionCode requirements and prompt the holder again. |
InvalidWalletAttestation | "InvalidWalletAttestation" | The authorization server rejected the wallet attestation. |
RedirectUriNotFound | "RedirectUriNotFound" | The offer requires the authorization code flow, but no redirect URI was set when the SDK was initialized. Provide credentialIssuanceConfiguration.redirectUri. |
UnsupportedDeviceKeyAuthenticationPolicy | "UnsupportedDeviceKeyAuthenticationPolicy" | The requested device key authentication method is not available on this device. Android only. |
UserAuthenticationBiometryLockout | "UserAuthenticationBiometryLockout" | Biometry is locked out on the holder's device after too many failed attempts. They must unlock it with their device passcode before trying again. |
UserAuthenticationFailed | "UserAuthentication" | The holder attempted to authenticate and failed. |
UserAuthenticationOnDeviceNotSetup | "UserAuthenticationOnDeviceNotSetup" | The holder has no secure access method set up on their device, so it cannot authenticate them. |
WebAuthenticationFailed | "WebAuthenticationFailed" | Web authentication failed during the authorization code flow. |
Referenced by
Returned by retrieveCredentialsUsingAuthorizationSession.
How would you rate this page?