Oauth2Manager constructor

Oauth2Manager({
  1. required Uri endpoint,
  2. required String identifier,
  3. required String secret,
  4. bool basicAuth = false,
  5. required Future<Client> grantOwnerPassword(
    1. Uri endpoint,
    2. String identifier,
    3. String secret,
    4. bool basicAuth,
    5. String username,
    6. String password,
    7. Iterable<String>? scopes,
    ),
  6. required Oauth2CredentialsStorage credentialsStorage,
  7. Logger? logger,
})

Implementation

Oauth2Manager({
  required this.endpoint,
  required this.identifier,
  required this.secret,
  this.basicAuth = false,
  required this.grantOwnerPassword,
  required this.credentialsStorage,
  this.logger,
});