Config constructor

Config(String azureTennantId, String clientId, String scope, { String clientSecret, String redirectUri: "https://login.live.com/oauth20_desktop.srf", String responseType: "code", String contentType: "application/x-www-form-urlencoded", Size screenSize })

Implementation

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