Authenticate a user and receive an AuthenticateResponse
.
The authentication URL of the current transaction.
the ID of the passkey with which to authenticate.
Initiates authentication using an OTP, which will be sent to the provided email address.
The authentication URL of the current transaction.
The email address where the OTP will be sent.
Bind a passkey to a device.
the URL used to bind a passkey to a device.
Delete a passkey by ID.
the the passkey id, uniquely identifying a Passkey
.
it is possible to delete a passkey that does not exist.
deleting a passkey is destructive and will remove everything from the device. If no other device contains the passkey then the user will need to complete a recovery in order to log in again on this device.
Get the Authentication Context for the current transaction.
The Authentication Context contains the Authenticator Config, Authentication Method Configuration, request origin, and the authenticating application. This is used to retrieve authentication parameters for an ongoing transaction.
The authentication URL of the current transaction.
Initialize the SDK. This must be called before any other functions are called. Note: Hot reloading will not call this function again. If changes have been made to calling this function, fully reload the app to see those changes.
A prompt the user will see when asked for biometrics.
Optional
allowedDomains: string[]An optional array of whitelisted domains for network operations. This will default to Beyond Identity’s allowed domains when not provided or is empty.
Redeems an OTP for a grant code.
Returns a promise that resolves to an AuthenticateResponse
on success
or an OtpChallengeResponse
on failure to authenticate with the provided OTP code.
Use the url provided in OtpChallengeResponse
for retry.
The authentication URL of the current transaction.
The OTP to redeem.
Generated using TypeDoc
A NativeEventEmitter to listen for
Logger
events after callingEmbedded.initialize