FlutterAuth class

Constructors

FlutterAuth({@required String clientId, @required String clientSecret, @required String callbackUrl, bool clearCache = false, String userAgent})
Returns an instance of FlutterAuth.

Properties

callbackUrl String
final
clearCache bool
final
clientId String
final
clientSecret String
final
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
userAgent String
final

Methods

convertWebviewErrorToException(dynamic result) FlutterAuthException
login(BuildContext context) Future<FlutterAuthResult>
loginComplete(Uri authorizedResultUrl) Future<FlutterAuthResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
openLoginPage(BuildContext context, String url) Future<FlutterAuthResult>
openLoginPageWithWebview(BuildContext context, String url) Future<FlutterAuthResult>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited