RawCredentialsStrategy class

An AuthorizationStrategy that uses a preexisting oauth2.Credentials to authorize user in.

Implemented types

Constructors

RawCredentialsStrategy(Credentials credentials)
Creates the RawCredentialsStrategy.
const

Properties

credentials Credentials
The preexisting credentials.
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

execute(OAuthSettings oAuthSettings, Client client, CredentialsRefreshedCallback onCredentialsRefreshed) Future<Client>
Execute this AuthorizationStrategy and create an oauth2.Client that is authorized.
override
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