DescopeSso class abstract
Authenticate a user using SSO.
Use the Descope console to configure your SSO details in order for this method to work properly.
It's recommended to use flutter_web_auth
to perform the authentication.
For further reference see: flutter_web_auth
Constructors
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
-
exchange(
{required String code}) → Future< AuthenticationResponse> - Completes an SSO redirect chain.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{required String emailOrTenantId, String? redirectUrl, SignInOptions? options}) → Future< String> - Starts an SSO redirect chain to authenticate a user.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited