GODefaultSecureStorage class
액세스 토큰은 메모리, 나머지 값은 Flutter 보안 저장소에 보관하는 구현이다.
- Implemented types
Constructors
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
-
findAccessToken(
) → String? -
메모리에 저장된 액세스 토큰을 반환한다.
override
-
findRefreshToken(
) → Future< String?> -
보안 저장소의
refreshToken값을 읽는다.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
보안 저장소에서
key를 읽고 실패하면null을 반환한다.override -
saveAccessToken(
String? token) → void -
액세스 토큰을 현재 프로세스의 메모리에 저장한다.
override
-
saveRefreshToken(
String? token) → Future< void> -
보안 저장소의
refreshToken값을 갱신한다.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String? value) → Future< void> -
보안 저장소의
key에value를 기록한다.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited