OAuthFlow constructor
- @JsonSerializable.new(includeIfNull: false, explicitToJson: true)
Creates an OAuthFlow object.
Implementation
@JsonSerializable(includeIfNull: false, explicitToJson: true)
const factory OAuthFlow({
/// The available scopes for the OAuth2 security scheme.
required Map<String, String> scopes,
/// The authorization URL to be used for this flow.
String? authorizationUrl,
/// The token URL to be used for this flow.
String? tokenUrl,
/// The URL to be used for obtaining refresh tokens.
String? refreshUrl,
}) = _OAuthFlow;