Represents a security scheme in the OpenAPI specification.

Static Methods

stringForFlow(APISecuritySchemeFlow flow) → String

Constructors

APISecurityScheme.apiKey(String apiKeyName, APIParameterLocation apiKeyLocation)

APISecurityScheme.basic()

APISecurityScheme.oauth2(APISecuritySchemeFlow oauthFlow, { String authorizationURL, String tokenURL, List<APISecurityScope> scopes: const [] })

Properties

apiKeyLocation APIParameterLocation

read / write
apiKeyName → String

read / write
authorizationURL → String

read / write
description → String

read / write
isOAuth2 → bool

read-only
oauthFlow APISecuritySchemeFlow

read / write
scopes → List<APISecurityScope>

read / write
tokenURL → String

read / write
type → String

read / write
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

asMap() → Map<String, dynamic>

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited