APISecuritySchemeOAuth2Flow class

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
refreshURL ↔ Uri
The URL to be used for obtaining refresh tokens. [...]
read / write
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
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
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited