DescopeOAuth class abstract

Authenticate a user using an OAuth provider.

Use the Descope console to configure which authentication provider you'd like to support.

It's recommended to use flutter_web_auth to perform the authentication. For further reference see: flutter_web_auth

Constructors

DescopeOAuth()

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 OAuth redirect chain.
native({required OAuthProvider provider, SignInOptions? options}) Future<AuthenticationResponse>
Authenticates the user using the native Sign in with Apple/Google dialogs on these platforms.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start({required OAuthProvider provider, String? redirectUrl, SignInOptions? options}) Future<String>
Starts an OAuth redirect chain to authenticate a user.
toString() String
A string representation of this object.
inherited

Operators

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