DNSecureStorage class abstract

인증 토큰 및 키-값 보안 저장소가 따라야 하는 계약이다.

Implementers

Constructors

DNSecureStorage()

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?
현재 액세스 토큰을 반환한다.
findRefreshToken() → Future<String?>
영구 저장된 리프레시 토큰을 반환한다.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<String?>
보안 저장소에서 key에 해당하는 값을 읽는다.
saveAccessToken(String? token) → void
현재 액세스 토큰을 token으로 갱신한다.
saveRefreshToken(String? token) → Future<void>
리프레시 토큰을 token으로 갱신한다.
toString() → String
A string representation of this object.
inherited
write(String key, String value) → Future<void>
보안 저장소의 key에 value를 기록한다.

Operators

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