AuthStrategy class abstract

Base transport-auth strategy.

Refresh endpoints remain generated-package/application concerns. Strategies only restore, apply, persist, and clear transport credentials.

Implementers

Constructors

AuthStrategy()
const

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

apply(RequestOptions options, AuthStrategyContext context) → Future<void>
clearCredentials(AuthStrategyContext context) → Future<void>
hasCredentials(AuthStrategyContext context) → Future<bool>
initialize(AuthStrategyContext context) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUnauthorized(AuthStrategyContext context) → Future<void>
saveCredentials(String? credential, AuthStrategyContext context) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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