AuthFlowType enum
Authentication flow types supported by the Kinde SDK.
Defines the OAuth 2.0 flow to use for authentication.
Values
- none → const AuthFlowType
-
No specific authentication flow.
Used as a default or placeholder value when no specific flow is required or selected.
const AuthFlowType('none', 'No specific authentication flow') - pkce → const AuthFlowType
-
Proof Key for Code Exchange (PKCE) flow.
A more secure OAuth 2.0 flow that protects against authorization code interception attacks. Recommended for mobile and native applications.
See: https://oauth.net/2/pkce/
const AuthFlowType('pkce', 'Proof Key for Code Exchange (PKCE) flow - more secure, recommended for mobile apps')
Properties
- description → String
-
Human-readable description of the authentication flow.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The string value of the flow type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns the string value of the flow type.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AuthFlowType> - A constant List of the values in this enum, in order of their declaration.