Private
constructorPrivate
coreThe authentication URL of the current transaction.
The ID of the passkey to authenticate with.
A promise that resolves to an AuthenticateResponse containing a redirect URL and a message.
Will throw an error if the operation fails.
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.
A promise that resolves to an OtpChallengeResponse containing a URL with the state of the authentication.
Will throw an error if the operation fails.
Binds a passkey to this browser.
The URL to bind a passkey. This can either be a passkey binding link generated from a call to the Beyond Identity API or a passkey binding instruction from an email/sms.
A promise that resolves to a BindPasskeyResponse containing the bound passkey and the post-binding redirect URI.
Will throw an error if the operation fails.
Returns the Authentication Context for the current transaction. The Authentication Context contains the Authenticator Config, Authentication Method Configuration, request origin, and the authenticating application.
The authentication URL of the current transaction.
A promise that resolves to the Authentication Context.
Checks if the given URL is a bind passkey URL.
The URL to be checked. This can either be a passkey binding link generated from a call to the Beyond Identity API or a passkey binding instruction from an email/sms.
Returns true if the URL is a bind passkey URL, otherwise false.
Will throw an error if the operation fails.
Redeems an OTP for a grant code.
The authentication URL of the current transaction.
The OTP to redeem.
A promise that resolves to an AuthenticateResponse on success or an OtpChallengeResponse on failure.
Will throw an error if the operation fails.
Static
initializeInitializes the Embedded SDK. This function must be called before any other function.
Optional
config: ConfigThe optional configuration for the Embedded SDK.
A promise that resolves to an instance of the Embedded SDK.
Will throw an error if the operation fails.
Generated using TypeDoc
Authenticates against the specified passkey bound to the browser.