CloudCredentials class final

A user signed in to the cloud (L7 freedome_server, 02h): its JWT is exchanged at POST /auth/token-exchange for a local session on linked installations (02e §3.6). token is asked again when the local session cannot be refreshed (feed it from FreedomeAccountClient).

Inheritance

Constructors

CloudCredentials(Future<String> token())
Credentials backed by a token provider.
const
CloudCredentials.jwt(String jwt)
Credentials with a fixed jwt.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → Future<String> Function()
Returns a current L7 access JWT.
final

Methods

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

Operators

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