FIDO2
public struct FIDO2
Utility to manage FIDO2 error codes and messages.
Error Codes
The table below lists the different FIDO2 error codes and messages developers might encounter.
| Key | Code | Message |
|---|---|---|
| USER_NOT_LINKED | 300001 | User is not linked |
| SERVICE_URL_NOT_SET | 300002 | WebAuthN service URL is not set for environment |
| ATTESTATION_OPTIONS_FAILED | 300003 | FIDO2 attestation options failed |
| ATTESTATION_RESULT_FAILED | 300004 | FIDO2 attestation result failed |
| LINKING_FAILED | 300005 | FIDO2 key linking failed |
| UNLINKING_FAILED | 300006 | FIDO2 key unlinking failed |
| CANCELED | 300007 | Canceled |
| INVALID | 300008 | Unable to create credential |
| FETCH_MANAGED_WALLET_FAILED | 300009 | FIDO2 key wallet fetching failed |
| INVALID_USER | 3000010 | Invalid user |
| ASSERTION_OPTIONS_FAILED | 3000011 | FIDO2 assertion options failed |
| ASSERTION_RESULT_FAILED | 3000012 | FIDO2 assertion result failed |
| GLOBAL_CAAS_URL_NOT_SET | 3000013 | Global caas URL is not set for environment |
| ADMIN_CONSOLE_URL_NOT_SET | 3000014 | Admin console URL is not set for global caas |
| KEY_ALREADY_REGISTERED | 3000015 | The security key has already been registered |