PendingAuthorization class
An authorization request on its way to the authorization server: what the client must keep to judge the answer. Encode it to survive a page navigation; it holds the PKCE verifier, so keep it only for the session.
- Annotations
-
- @immutable
Constructors
Properties
- clientId → String
-
final
- codeVerifier → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- issParameterSupported → bool
-
final
- issuer → String
-
The issuer of the validated metadata, recorded before the redirect.
final
- redirectUri → String
-
final
- resource → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> -
final
- state → String
-
final
- tokenEndpoint → String
-
final
Methods
-
encode(
) → String -
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
Static Methods
-
decode(
String? raw) → PendingAuthorization? -
The record encode wrote, or null when
rawis not one.