AuthorizationRequest constructor
AuthorizationRequest(
- Config config, {
- bool fullScreen = true,
- 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;
}