Config constructor

Config(
  1. String azureTennantId,
  2. String clientId,
  3. String scope,
  4. String redirectUri, {
  5. String? clientSecret,
  6. String? resource,
  7. String responseType = "code",
  8. String contentType = "application/x-www-form-urlencoded",
  9. BuildContext? context,
})

Implementation

Config(this.azureTennantId, this.clientId, this.scope, this.redirectUri,
    {this.clientSecret,
    this.resource,
    this.responseType = "code",
    this.contentType = "application/x-www-form-urlencoded",
    this.context}) {
  this.authorizationUrl =
      "https://login.microsoftonline.com/$azureTennantId/oauth2/v2.0/authorize";
  this.tokenUrl =
      "https://login.microsoftonline.com/$azureTennantId/oauth2/v2.0/token";
}