Flow.implicit constructor
Implementation
Flow.implicit(Client client, {String? state, String? device, String? prompt})
: this._(
FlowType.implicit,
[
'token id_token',
'id_token token',
'id_token',
'token',
].firstWhere((v) =>
client.issuer.metadata.responseTypesSupported.contains(v)),
client,
state: state,
scopes: [
'openid',
'profile',
'email',
if (device != null) 'offline_access'
],
additionalParameters: {
if (device != null) 'device': device,
if (prompt != null) 'prompt': prompt,
});