Flow.authorizationCode constructor
Flow.authorizationCode(})
Implementation
Flow.authorizationCode(Client client,
{String? state,
String? prompt,
String? accessType,
Uri? redirectUri,
Map<String, String>? additionalParameters,
List<String> scopes = const ['openid', 'profile', 'email']})
: this._(FlowType.authorizationCode, 'code', client,
state: state,
additionalParameters: {
if (prompt != null) 'prompt': prompt,
if (accessType != null) 'access_type': accessType,
...?additionalParameters
},
scopes: scopes,
redirectUri: redirectUri);