ResourceOwnerPasswordStrategy class
An AuthorizationStrategy that uses the Resource Owner Password Grant.
See also:
- Implemented types
Constructors
- ResourceOwnerPasswordStrategy(String username, String password)
-
Creates the ResourceOwnerPasswordStrategy.
const
Properties
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