AuthorizationRequest constructor

AuthorizationRequest(
  1. Config config, {
  2. bool fullScreen = true,
  3. bool clearCookies = false,
})

Implementation

AuthorizationRequest(Config config,
    {bool fullScreen: true, bool clearCookies: false}) {
  this.url = config.authorizationUrl;
  this.redirectUrl = config.redirectUri;
  this.parameters = {
    "client_id": config.clientId,
    "response_type": config.responseType,
    "redirect_uri": config.redirectUri,
    "scope": config.scope
  };
  this.fullScreen = fullScreen;
  this.clearCookies = clearCookies;
}