OpenAPIOAuthFlow.implicit constructor

OpenAPIOAuthFlow.implicit({
  1. required String authorizationUrl,
  2. required Map<String, String> scopes,
  3. String? refreshUrl,
  4. Map<String, Object?>? extensions,
})

Creates an implicit OAuth flow.

Implementation

factory OpenAPIOAuthFlow.implicit({
  required String authorizationUrl,
  required Map<String, String> scopes,
  String? refreshUrl,
  Map<String, Object?>? extensions,
}) => OpenAPIOAuthFlow._({
  'authorizationUrl': authorizationUrl,
  'scopes': Map<String, String>.unmodifiable(scopes),
  'refreshUrl': ?refreshUrl,
  ...?prefixExtensions(extensions),
});