OAuthApi.fromAuthenticator constructor
OAuthApi.fromAuthenticator(
- String identifier,
- OAuthAuthenticator? authenticator, {
- Client? client,
- Converter? converter,
- AuthStorage? authStorage,
Implementation
OAuthApi.fromAuthenticator(String identifier, this.authenticator,
{http.Client? client, Converter? converter, AuthStorage? authStorage})
: super(identifier,
client: client, converter: converter, authStorage: authStorage) {
this.clientId = authenticator!.clientId;
this.clientSecret = authenticator!.clientSecret;
this.tokenUrl = authenticator!.tokenUrl;
this.scopes = authenticator!.scope;
}