TokenStorage class

Constructors

TokenStorage(LocalStorageService localStorage, StorageProvider provider)

Properties

hashCode int
The hash code for this object.
no setterinherited
localStorage LocalStorageService
final
provider StorageProvider
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearTokens() Future<void>
getRefreshToken() Future<String?>
getUserToken() Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRefreshToken(String token) Future<void>
setUserToken(String token) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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