DescopeSdk class

Provides functions for working with the Descope API.

Constructors

DescopeSdk(String projectId, [dynamic configure(DescopeConfig)?])
Creates a new DescopeSdk.
factory

Properties

auth DescopeAuth
General functions
final
config DescopeConfig
The configuration of the DescopeSdk instance.
final
Authentication with enchanted links
final
flow DescopeFlow
Authenticate using an authentication flow
final
hashCode int
The hash code for this object.
no setterinherited
Authentication with magic links
final
oauth DescopeOAuth
Authentication with OAuth
final
otp DescopeOtp
Authentication with one time codes
final
passkey DescopePasskey
Authentication with passkeys
final
password DescopePassword
Authentication with passwords
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionManager ↔ DescopeSessionManager
getter/setter pair
sso DescopeSso
Authentication with SSO
final
totp DescopeTotp
Authentication with TOTP
final

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

Constants

name → const String
The Descope SDK name
version → const String
The Descope SDK version