APISecurityScheme class Null safety

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?
read / write
apiKeyName String?
read / write
authorizationURL String?
read / write
castMap Map<String, Cast>
read-only, override
description String?
read / write
extensions Map<String, dynamic>
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
isOAuth2 bool
read-only
oauthFlow APISecuritySchemeFlow?
read / write
referenceURI Uri
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopes Map<String, String>?
read / write
tokenURL String?
read / write
type String?
read / write

Methods

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

Operators

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