APISecuritySchemeOAuth2Flow class
Allows configuration of the supported OAuth Flows.
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
-
The authorization URL to be used for this flow.
getter/setter pair
-
castMap
→ Map<
String, Cast> ? -
no setterinherited
-
extensions
↔ Map<
String, dynamic> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- referenceURI ↔ Uri?
-
getter/setter pairinherited
- refreshURL ↔ Uri?
-
The URL to be used for obtaining refresh tokens.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
↔ Map<
String, String> ? -
The available scopes for the OAuth2 security scheme.
getter/setter pair
- tokenURL ↔ Uri?
-
The token URL to be used for this flow.
getter/setter pair
Methods
-
decode(
KeyedArchive object) → void -
override
-
encode(
KeyedArchive object) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited