APISecuritySchemeOAuth2Flow class Null safety

Allows configuration of the supported OAuth Flows.

Inheritance

Constructors

APISecuritySchemeOAuth2Flow.client(Uri? tokenURL, Uri? refreshURL, Map<String, String>? scopes)
APISecuritySchemeOAuth2Flow.code(Uri? authorizationURL, Uri? tokenURL, Uri? refreshURL, Map<String, String>? scopes)
APISecuritySchemeOAuth2Flow.empty()
APISecuritySchemeOAuth2Flow.implicit(Uri? authorizationURL, Uri? refreshURL, Map<String, String>? scopes)
APISecuritySchemeOAuth2Flow.password(Uri? tokenURL, Uri? refreshURL, Map<String, String>? scopes)

Properties

authorizationURL Uri?
The authorization URL to be used for this flow. [...]
read / write
castMap Map<String, Cast>
read-only, inherited
extensions Map<String, dynamic>
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
referenceURI Uri
read / write, inherited
refreshURL Uri?
The URL to be used for obtaining refresh tokens. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopes Map<String, String>?
The available scopes for the OAuth2 security scheme. [...]
read / write
tokenURL Uri?
The token URL to be used for this flow. [...]
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