FileTokenStorage class
File-based token storage for standalone Dart applications.
- Implemented types
Constructors
- FileTokenStorage.new(String filePath)
- FileTokenStorage.defaultPath()
-
Default file storage in user's config directory.
factory
Properties
Methods
-
clearTokens(
) → Future< void> -
Clear stored tokens.
override
-
loadTokens(
) → Future< Map< String, dynamic> ?> -
Load OAuth tokens.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveTokens(
Map< String, dynamic> tokens) → Future<void> -
Save OAuth tokens.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited