Descope class
Provides functions for working with the Descope API.
This singleton object is provided as a convenience that should be suitable for most app architectures. If you prefer a different approach you can also create an instance of the DescopeSdk class instead.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- auth → DescopeAuth
-
General functions.
no setter
- config ↔ DescopeConfig
-
The configuration of the
Descope
singleton.getter/setter pair - enchantedLink → DescopeEnchantedLink
-
Authentication with enchanted links.
no setter
- flow → DescopeFlow
-
Authenticate using an authentication flow
no setter
- magicLink → DescopeMagicLink
-
Authentication with magic links.
no setter
- oauth → DescopeOAuth
-
Authentication with OAuth.
no setter
- otp → DescopeOtp
-
Authentication with OTP codes via email or phone.
no setter
- passkey → DescopePasskey
-
Authentication with passkeys.
no setter
- password → DescopePassword
-
Authentication with passwords.
no setter
- projectId ↔ String
-
The projectId of your Descope project.
getter/setter pair
- sessionManager ↔ DescopeSessionManager
-
Manages the storage and lifetime of a DescopeSession.
getter/setter pair
- sso → DescopeSso
-
Authentication with SSO.
no setter
- totp → DescopeTotp
-
Authentication with TOTP codes.
no setter