HasApiTokens class
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
-
createToken([String guard = '', Duration? expiresIn, bool withRefreshToken = false])
→ Map<String, dynamic>
-
Create new token
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshToken(String token, [String guard = '', Duration? expiresIn])
→ Map<String, dynamic>
-
Create new refresh token
-
setPayload(Map<String, dynamic> payload)
→ HasApiTokens
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
verify(String token, String guard, String expectedType)
→ Map<String, dynamic>
-