AuthCache class
Constructors
- AuthCache({required String accessTokenKey, required String accessTokenExpireKey, required String refreshTokenKey, required String refreshTokenExpireKey, required String anonymousUuidKey, required String loginTypeKey})
- AuthCache.init(CloudBaseConfig config)
-
factory
Properties
- accessTokenExpireKey → String
-
final
- accessTokenKey → String
-
final
- anonymousUuidKey → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loginTypeKey → String
-
final
- refreshTokenExpireKey → String
-
final
- refreshTokenKey → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getStore(
String key) → Future - 获取缓存
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAllStore(
) → Future - 删除所有缓存
-
removeStore(
String key) → Future - 删除缓存
-
setStore(
String key, dynamic value) → Future - 设置缓存
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited