Auth class
Constructors
-
Auth()
-
factory
Methods
-
check(String token, {Map<String, dynamic>? user, bool isCustomToken = false})
→ Future<bool>
-
-
createToken({Duration? expiresIn, bool withRefreshToken = false, bool customToken = false})
→ Future<Map<String, dynamic>>
-
-
createTokenByRefreshToken(String token, {Duration? expiresIn, bool customToken = false})
→ Future<Map<String, dynamic>>
-
-
deleteCurrentToken()
→ Future<bool>
-
-
deleteTokens()
→ Future<bool>
-
-
get(String filed)
→ dynamic
-
-
guard(String guard)
→ Auth
-
-
id()
→ dynamic
-
-
login(Map<String, dynamic> user)
→ Auth
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
user()
→ Map<String, dynamic>?
-