EmbeddedSdk class Null safety

Constructors

EmbeddedSdk()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

authenticate(String url, String passkeyId) Future<AuthenticateResponse>
Authenticate a user.
authenticateOtp(String url, String email) Future<OtpChallengeResponse>
Initiates authentication using an OTP, which will be sent to the provided email address.
bindPasskey(String url) Future<BindPasskeyResponse>
Bind a passkey to this device.
deletePasskey(String id) Future<void>
Delete a Passkey by ID on current device. Note: It is possible to delete a passkey that does not exist. Warning: 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.
enableLogger() Future<Function>
Custom logger to get logs from the SDK. This must be called from within a State.
getAuthenticationContext(String url) Future<AuthenticationContext>
Get the Authentication Context for the current transaction.
getPasskeys() Future<List<Passkey>>
Get all current passkeys for this device.
initialize(String biometricAskPrompt, {List<String>? allowedDomains = const <String>[], Future<Function>? logger}) Future<void>
Initialize and configure the Beyond Identity Embedded SDK.
isAuthenticateUrl(String url) Future<bool>
Returns whether a URL is a valid Authenticate URL or not.
isBindPasskeyUrl(String url) Future<bool>
Returns whether a URL is a valid Bind Passkey URL or not.
redeemOtp(String url, String otp) Future<RedeemOtpResponse>
Redeems an OTP for a grant code.