OAuthFlows constructor

  1. @JsonSerializable.new(includeIfNull: false, explicitToJson: true)
const OAuthFlows({
  1. OAuthFlow? implicit,
  2. OAuthFlow? password,
  3. OAuthFlow? clientCredentials,
  4. OAuthFlow? authorizationCode,
})

Creates an OAuthFlows object.

Implementation

@JsonSerializable(includeIfNull: false, explicitToJson: true)
const factory OAuthFlows({
  /// Configuration for the OAuth Implicit flow.
  OAuthFlow? implicit,

  /// Configuration for the OAuth Resource Owner Password flow.
  OAuthFlow? password,

  /// Configuration for the OAuth Client Credentials flow.
  OAuthFlow? clientCredentials,

  /// Configuration for the OAuth Authorization Code flow.
  OAuthFlow? authorizationCode,
}) = _OAuthFlows;