APISecurityScheme.oauth2 constructor

APISecurityScheme.oauth2(
  1. APISecuritySchemeFlow? oauthFlow, {
  2. String? authorizationURL,
  3. String? tokenURL,
  4. Map<String, String>? scopes = const {},
})

Implementation

APISecurityScheme.oauth2(
  this.oauthFlow, {
  this.authorizationURL,
  this.tokenURL,
  this.scopes = const {},
}) {
  type = "oauth2";
}