OpenApiV30OAuthFlows class final

OAuth grant types supported by the authorization server.

Constructors

OpenApiV30OAuthFlows({OpenApiV30OAuthFlow? implicit, OpenApiV30OAuthFlow? password, OpenApiV30OAuthFlow? clientCredentials, OpenApiV30OAuthFlow? authorizationCode, Map<String, JsonValue> extensions = const {}, Map<String, JsonValue> extraFields = const {}})
Groups endpoint settings by grant type.

Properties

authorizationCode → OpenApiV30OAuthFlow?
Configuration for the authorization code grant.
final
clientCredentials → OpenApiV30OAuthFlow?
Configuration for the client credentials grant.
final
extensions → Map<String, JsonValue>
Specification extensions keyed by their x- names. Defaults to empty.
finalinherited
extraFields → Map<String, JsonValue>
Unrecognized fields retained for JSON export. Defaults to empty.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
implicit → OpenApiV30OAuthFlow?
Configuration for the implicit grant.
final
password → OpenApiV30OAuthFlow?
Configuration for the resource owner password grant.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

extraToJson() → Map<String, Object?>
Exports extensions and unrecognized fields as JSON.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
Returns a detached JSON representation.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited