Enumeration: ErrorCode

Enumeration Members

NotInitialized

NotInitialized = "not_initialized"

Either the SDK init call failed or another function was called before initializing the SDK


AuthenticationFailed

AuthenticationFailed = "authentication_failed"

When the call to startAuthentication failed


AuthenticationAbortedTimeout

AuthenticationAbortedTimeout = "authentication_aborted_timeout"

When authenticate.modal or authenticate.autofill.activate is called and the modal is closed when reaching the timeout


AuthenticationCanceled

AuthenticationCanceled = "webauthn_authentication_canceled"

When modal is called and the modal is closed when reaching the timeout


RegistrationFailed

RegistrationFailed = "registration_failed"

When the call to startRegistration failed


RegistrationAbortedTimeout

RegistrationAbortedTimeout = "registration_aborted_timeout"

When register is called and the modal is closed when reaching the timeout


RegistrationCanceled

RegistrationCanceled = "webauthn_registration_canceled"

When register is called and the modal closed by the user


AutofillAuthenticationAborted

AutofillAuthenticationAborted = "autofill_authentication_aborted"

Passkey autofill authentication was aborted by abort


AuthenticationProcessAlreadyActive

AuthenticationProcessAlreadyActive = "authentication_process_already_active"

Passkey authentication is already active. To start a new authentication, abort the current one first by calling abort


InvalidApprovalData

InvalidApprovalData = "invalid_approval_data"

The ApprovalData parameter was sent in the wrong format. The object can contain up to 10 keys, and only alphanumeric characters, numbers ,underscores, hyphens, and periods.


FailedToInitCrossDeviceSession

FailedToInitCrossDeviceSession = "cross_device_init_failed"

When the call to initCrossDeviceAuthentication failed


FailedToGetCrossDeviceStatus

FailedToGetCrossDeviceStatus = "cross_device_status_failed"

When the call to getCrossDeviceTicketStatus failed


Unknown

Unknown = "unknown"

When the SDK operation fails on an unhandled error