SecuritySchemeOAuth2AccessCodeV2 class

OAuth2 Authorization Code flow security scheme.

Inheritance

Constructors

SecuritySchemeOAuth2AccessCodeV2({required String authorizationUrl, required String tokenUrl, required Map<String, String> scopes, String? description})
Creates a SecuritySchemeOAuth2AccessCodeV2 with the given authorizationUrl, tokenUrl, scopes, and optional description.

Properties

authorizationUrl String
The URL to redirect the user to for authorization.
final
description String?
A description of the security scheme.
finalinherited
flow String
The OAuth2 flow type (e.g., "implicit", "password", "application", "accessCode").
finalinherited
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.
finalinherited
tokenUrl String
The URL to obtain the access token.
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