OIDCAuthProvider class abstract
Handles the retrieval of tokens for OIDC-protected API calls.
- Inheritance
-
- Object
- APIAuthProvider
- OIDCAuthProvider
Constructors
- OIDCAuthProvider()
-
Handles the retrieval of tokens for OIDC-protected API calls.
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
- type → APIAuthorizationType
-
The authorization type of this provider.
finalinherited
Methods
-
getLatestAuthToken(
) → Future< String?> -
Returns the latest authorization token, or
null
if unavailable. If an Exception is thrown, it will be treated the same as anull
token. However, Error objects will not be caught and must be handled by the developer.inherited -
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