DefaultTokenManager class Null safety

Kakao SDK에서 기본 제공하는 토큰 저장소 구현체

기기 고유값을 이용해 토큰을 암호화하고 SharedPreferences에 저장함 (Android는 SharedPreferences, iOS는 UserDefaults에 저장함)

Implemented types

Constructors

DefaultTokenManager()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

clear() Future<void>
저장되어 있는 OAuthToken 객체를 삭제
override
getToken() Future<OAuthToken?>
저장되어 있는 OAuthToken 반환
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setToken(OAuthToken token) Future<void>
토큰(token)를 저장
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

atKey → const String
"com.kakao.token.AccessToken"
expiresAtKey → const String
"com.kakao.token.AccessToken.ExpiresAt"
rtExpiresAtKey → const String
"com.kakao.token.RefreshToken.ExpiresAt"
rtKey → const String
"com.kakao.token.RefreshToken"
scopesKey → const String
"com.kakao.token.Scopes"
secureModeKey → const String
"com.kakao.token.KakaoSecureMode"
tokenKey → const String
"com.kakao.token.OAuthToken"
versionKey → const String
"com.kakao.token.version"