Passkey
public struct Passkey
- Utility to manage Passkey error codes and messages.
Error Codes
The table below lists license error codes and messages.
| Key | Code | Message |
|---|---|---|
| iOS_16_REQUIRED | 300001 | Passkeys are supported on iOS 16 and above. Please update your device to use this feature. |
| USERNAME_EMPTY | 300002 | Username cannot be empty. |
| DISPLAY_NAME_EMPTY | 300003 | Display name cannot be empty. |
| ATTESTATION_OPTIONS_FAILED | 300004 | Passkey attestation options failed. |
| ATTESTATION_RESULT_FAILED | 300005 | Passkey attestation result failed. |
| PASSKEY_REGISTRATION_FAILED | 300006 | Passkey registration failed. |
| CANCELED | 300007 | User cancelled the operation. |
| INVALID | 300008 | Unable to create credential. |
| INVALID_SIGNING | 300009 | Unable to sign challenge. |
| UNSUPPORTED_CREDENTIAL_TYPE | 300010 | Unsupported credential type returned by Credential Manager. Add handling for {error from os} |
| ASSERTION_OPTIONS_FAILED | 300011 | Passkey assertion options failed. |
| ASSERTION_RESULT_FAILED | 300012 | Passkey assertion result failed. |
| UNHANDLED_CREDENTIAL_TYPE | 300013 | The authorization request wasn’t handled. |
| NOT_INTERACTIVE | 300014 | Unable to create credential. |
| MATCHED_EXCLUDED_CREDENTIAL | 300015 | At least one credential matches an entry of the excludeCredentials list in the platform attached authenticator. |
| LINKING_FAILED | 300016 | Passkey linking failed |
| FETCH_WALLET_FAILED | 300017 | Passkey wallet fetching failed. |
| PASSKEY_AUTHENTICATION_FAILED | 300018 | Passkey authentication failed. |