SmsTokenStrategy class
An AuthorizationStrategy that uses a phone number and an SMS token to authorize the resource owner.
- Implemented types
Constructors
- SmsTokenStrategy(String phoneNumber, String smsToken)
-
Creates the SmsTokenStrategy.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- phoneNumber → String
-
The resource owner phone number.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smsToken → String
-
The resource owner SMS token received on the phoneNumber.
final
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