AzureADApi constructor

AzureADApi(
  1. String identifier,
  2. String clientId,
  3. String tokenUrl,
  4. String resource,
  5. String authorizationUrl,
  6. String redirectUrl, {
  7. String clientSecret = "native",
  8. List<String>? scopes,
  9. Client? client,
  10. Converter? converter,
  11. AuthStorage? authStorage,
})

Implementation

AzureADApi(String identifier, String clientId, String tokenUrl, this.resource,
    String authorizationUrl, String redirectUrl,
    {String clientSecret = "native",
    List<String>? scopes,
    http.Client? client,
    Converter? converter,
    AuthStorage? authStorage})
    : super.fromIdAndSecret(identifier, clientId, clientSecret,
          client: client,
          scopes: scopes,
          converter: converter,
          authStorage: authStorage) {
  this.tokenUrl = tokenUrl;
  this.authorizationUrl = authorizationUrl;
  this.redirectUrl = redirectUrl;
  useClientSecret = clientSecret != "native";
  this.scopes = scopes;
  this.scopesRequired = false;
}