APISecurityScheme class

Represents a security scheme in the OpenAPI specification.

Inheritance

Constructors

APISecurityScheme()
APISecurityScheme.apiKey(String? apiKeyName, APIParameterLocation? apiKeyLocation)
APISecurityScheme.basic()
APISecurityScheme.oauth2(APISecuritySchemeFlow? oauthFlow, {String? authorizationURL, String? tokenURL, Map<String, String>? scopes = const {}})

Properties

apiKeyLocation APIParameterLocation?
getter/setter pair
apiKeyName String?
getter/setter pair
authorizationURL String?
getter/setter pair
castMap Map<String, Cast>
no setteroverride
description String?
getter/setter pair
extensions Map<String, dynamic>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isOAuth2 bool
no setter
oauthFlow APISecuritySchemeFlow?
getter/setter pair
referenceURI Uri?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes Map<String, String>?
getter/setter pair
tokenURL String?
getter/setter pair
type String
getter/setter pair

Methods

decode(KeyedArchive object) → void
override
encode(KeyedArchive object) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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