OAuth2ConsentRequest class abstract

OAuth2ConsentRequest

Properties:

  • acr - ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
  • amr
  • challenge - ID is the identifier ("authorization challenge") of the consent authorization request. It is used to identify the session.
  • client
  • context
  • loginChallenge - LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app.
  • loginSessionId - LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the "sid" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
  • oidcContext
  • requestUrl - RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
  • requestedAccessTokenAudience
  • requestedScope
  • skip - Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call.
  • subject - Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client.
Annotations
  • @BuiltValue()

Constructors

OAuth2ConsentRequest([void updates(dynamic b)])
factory

Properties

acr String?
ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication.
no setter
amr → BuiltList<String>?
no setter
challenge String
ID is the identifier ("authorization challenge") of the consent authorization request. It is used to identify the session.
no setter
client OAuth2Client?
no setter
context → JsonObject?
no setter
hashCode int
The hash code for this object.
no setterinherited
loginChallenge String?
LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app.
no setter
loginSessionId String?
LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the "sid" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user.
no setter
oidcContext OAuth2ConsentRequestOpenIDConnectContext?
no setter
requestedAccessTokenAudience → BuiltList<String>?
no setter
requestedScope → BuiltList<String>?
no setter
requestUrl String?
RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skip bool?
Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call.
no setter
subject String?
Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(dynamic)) OAuth2ConsentRequest
Rebuilds the instance.
inherited
toBuilder() → dynamic
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<OAuth2ConsentRequest>
no setter