SimpliciAuth class
Main SimpliciAuth class providing static methods for authentication operations
Constructors
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 Methods
-
callHandleHooks(
{required InAppWebViewController webViewController, required String hookName, required Map< String, dynamic> payload, String action = 'login', Duration timeout = const Duration(seconds: 5), bool debugMode = false}) → Future<Map< String, dynamic> ?> - Execute any handleHooks operation with custom parameters
-
exchangeCode(
{required InAppWebViewController webViewController, required String provider, required String accessToken, required String code, required String redirectUrl, required String instanceId, String type = 'embeded', String responseType = 'json', Duration timeout = const Duration(seconds: 5), bool debugMode = false}) → Future< Map< String, dynamic> ?> - Exchange OAuth code for user data using the SimpliciAuth service