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

filePath String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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