DescopeTotp class abstract

Authenticate users using Timed One-time Passwords (TOTP) codes.

This authentication method is geared towards using an authenticator app which can produce TOTP codes.

Constructors

DescopeTotp()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signUp({required String loginId, SignUpDetails? details}) Future<TotpResponse>
Authenticates a new user using a TOTP.
toString() String
A string representation of this object.
inherited
update({required String loginId, required String refreshJwt}) Future<TotpResponse>
Updates an existing user by adding TOTP as an authentication method.
verify({required String loginId, required String code, SignInOptions? options}) Future<AuthenticationResponse>
Verifies a TOTP code that was generated by an authenticator app.

Operators

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