SecuritySchemeOAuth2V2 class sealed
OAuth2 security scheme.
- Inheritance
-
- Object
- SecuritySchemeObjectV2
- SecuritySchemeOAuth2V2
- Implementers
Constructors
- SecuritySchemeOAuth2V2.fromMap(Map map)
-
Creates a SecuritySchemeOAuth2V2 from a map.
Throws an ArgumentError if the flow is not recognized.
factory
Properties
- description → String?
-
A description of the security scheme.
finalinherited
- flow → String
-
The OAuth2 flow type (e.g., "implicit", "password", "application", "accessCode").
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ Map<
String, String> -
The available scopes for the OAuth2 security scheme.
final
- type → String
-
The type of the security scheme.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts the SecuritySchemeObjectV2 to a map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited