AuthorizationRequest constructor
AuthorizationRequest(
- Config config, {
- bool fullScreen = true,
- bool clearCookies = false,
})
Implementation
AuthorizationRequest(Config config,
{bool this.fullScreen = true, bool this.clearCookies = false}) {
url = config.authorizationUrl;
redirectUrl = config.redirectUri;
parameters = {
'client_id': config.clientId,
'response_type': config.responseType,
'redirect_uri': config.redirectUri,
'scope': config.scope
};
if (kIsWeb) {
parameters.addAll({'nonce': config.nonce});
}
}