InMemorySessionStorage class
메모리 기반 세션 저장소
앱이 종료되면 데이터가 사라집니다. 테스트나 개발 환경에서 사용하세요.
final kAuth = KAuth(
config: config,
storage: InMemorySessionStorage(),
);
- 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
-
clear(
) → Future< void> -
모든 데이터 삭제
override
-
delete(
String key) → Future< void> -
데이터 삭제
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
데이터 읽기
override
-
save(
String key, String value) → Future< void> -
데이터 저장
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited