DescopeFlowConfig class

Provide configurations when embedding a FlowView into your app

Constructors

DescopeFlowConfig({required String url, String? androidOAuthNativeProvider, String? iosOAuthNativeProvider, String? oauthRedirect, String? oauthRedirectCustomScheme, String? ssoRedirect, String? ssoRedirectCustomScheme, String? magicLinkRedirect})

Properties

androidOAuthNativeProvider String?
The ID of the oauth provider that is configured to natively "Sign In with Google". Will likely be "google" if the Descope "Google" provider was customized, or alternatively a custom provider ID.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iosOAuthNativeProvider String?
The ID of the oauth provider that is configured to natively "Sign In with Apple". Will likely be "apple" if the Descope "Apple" provider was customized, or alternatively a custom provider ID.
getter/setter pair
magicLinkRedirect String?
An optional deep link link URL to use when sending magic link emails or SMS messages, overriding whatever is configured in the flow or project
getter/setter pair
oauthRedirect String?
(Android Only) An optional deep link link URL to use when performing OAuth authentication, overriding whatever is configured in the flow or project.
getter/setter pair
oauthRedirectCustomScheme String?
(Android Only) An optional custom scheme based URL, e.g. mycustomscheme://myhost, to use when performing OAuth authentication overriding whatever is configured in the flow or project. Functionally, this URL is exactly the same as oauthRedirect, and will be used in its stead, only when the user has a default browser that does not honor App Links by default. That means the https based App Links are opened inline in the browser, instead of being handled by the application.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ssoRedirect String?
(Android Only) An optional deep link link URL to use performing SSO authentication, overriding whatever is configured in the flow or project
getter/setter pair
ssoRedirectCustomScheme String?
(Android Only) An optional custom scheme based URL, e.g. mycustomscheme://myhost, to use when performing SSO authentication overriding whatever is configured in the flow or project. Functionally, this URL is exactly the same as ssoRedirect, and will be used in its stead, only when the user has a default browser that does not honor App Links by default. That means the https based App Links are opened inline in the browser, instead of being handled by the application.
getter/setter pair
url String
The URL where the flow is hosted
getter/setter pair

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