TokenProvider class abstract

Abstract base class for token providers.

Provides the subject of the token and a method to obtain the access token.

Properties:

  • subject: The subject of the token.

Methods:

  • accessToken: Returns a Future that completes with the access token as a string.

Constructors

TokenProvider.new()

Properties

accessToken Future<String>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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