AzureADV2Api constructor
AzureADV2Api(})
Implementation
AzureADV2Api(String identifier, String clientId, String clientSecret,
String tokenUrl, String authorizationUrl, String redirectUrl,
{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;
this.forceRefresh = true;
this.scopes = scopes ?? ["basic"];
useClientSecret = clientSecret != "native";
}