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