PlatformWebAuthenticationSessionMethod enum
List of PlatformWebAuthenticationSession's methods that can be used to check if they are supported or not by the current platform.
Values
- canStart → const PlatformWebAuthenticationSessionMethod
-
Can be used to check if the PlatformWebAuthenticationSession.canStart method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - ASWebAuthenticationSession.canStart)
- macOS WKWebView (Official API - ASWebAuthenticationSession.canStart)
Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.
- cancel → const PlatformWebAuthenticationSessionMethod
-
Can be used to check if the PlatformWebAuthenticationSession.cancel method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - ASWebAuthenticationSession.cancel)
- macOS WKWebView (Official API - ASWebAuthenticationSession.cancel)
Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.
- create → const PlatformWebAuthenticationSessionMethod
-
Can be used to check if the PlatformWebAuthenticationSession.create method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView
- macOS WKWebView
Parameters - Officially Supported Platforms/Implementations:
url: all platformscallbackURLScheme: all platformsonComplete: all platformsinitialSettings: all platforms
Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.
- dispose → const PlatformWebAuthenticationSessionMethod
-
Can be used to check if the PlatformWebAuthenticationSession.dispose method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView
- macOS WKWebView
Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.
- isAvailable → const PlatformWebAuthenticationSessionMethod
-
Can be used to check if the PlatformWebAuthenticationSession.isAvailable method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView
- macOS WKWebView
Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.
- start → const PlatformWebAuthenticationSessionMethod
-
Can be used to check if the PlatformWebAuthenticationSession.start method is supported at runtime.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - ASWebAuthenticationSession.start)
- macOS WKWebView (Official API - ASWebAuthenticationSession.start)
Use the PlatformWebAuthenticationSession.isMethodSupported method to check if this method is supported at runtime.
Properties
- 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
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
-
values
→ const List<
PlatformWebAuthenticationSessionMethod> - A constant List of the values in this enum, in order of their declaration.