Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityServer.​Validation.​ValidatedAuthorizeRequest

Assembly: Duende.IdentityServer

Inheritance: object → ValidatedRequest → ValidatedAuthorizeRequest

Models a validated request to the authorize endpoint.

Properties

public string
ResponseType
Gets or sets the type of the response.
public string
ResponseMode
Gets or sets the response mode.
public string
GrantType
Gets or sets the grant type.
public string
RedirectUri
Gets or sets the redirect URI.
RequestedScopes
Gets or sets the requested scopes.
RequestedResourceIndicators
Gets or sets the requested resource indicators.
public bool
WasConsentShown
Gets or sets a value indicating whether consent was shown.
public string
Description
Gets the description the user assigned to the device being authorized.
public string
State
Gets or sets the state.
public string
UiLocales
Gets or sets the UI locales.
public bool
IsOpenIdRequest
Gets or sets a value indicating whether the request was an OpenID Connect request.
public bool
IsApiResourceRequest
Gets or sets a value indicating whether this instance is API resource request.
public string
Nonce
Gets or sets the nonce.
AuthenticationContextReferenceClasses
Gets or sets the authentication context reference classes.
public string
DisplayMode
Gets or sets the display mode.
PromptModes
Gets or sets the collection of prompt modes.
Remarks The <see cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.PromptModes" /> change as they are used. For example, if the prompt mode is login (to force the login UI to be displayed), the collection will initially contain login, but when the login page is displayed, the login prompt will be removed from the collection of prompt modes so that the login page will only be displayed once. <para> See also: <see cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.ProcessedPromptModes" /> and <see cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.OriginalPromptModes" />. </para>
OriginalPromptModes
Gets or sets the collection of original prompt modes.
Remarks The <see cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.PromptModes" /> change as they are used. For example, if the prompt mode is login (to force the login UI to be displayed), the collection will initially contain login, but when the login page is displayed, the login prompt will be removed from the collection of prompt modes so that the login page will only be displayed once. <para> See also: <list type="bullet"><item><seealso cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.ProcessedPromptModes" /></item><item><seealso cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.PromptModes" /></item></list></para>
ProcessedPromptModes
Gets or sets the collection of previously processed prompt modes.
Remarks The <see cref="P:Duende.IdentityServer.Validation.ValidatedAuthorizeRequest.PromptModes" /> change as they are used. For example, if the prompt mode is login (to force the login UI to be displayed), the collection will initially contain login, but when the login page is displayed, the login prompt will be removed from the collection of prompt modes so that the login page will only be displayed once.
public int?
MaxAge
Gets or sets the maximum age.
public string
LoginHint
Gets or sets the login hint.
public string
CodeChallenge
Gets or sets the code challenge
public string
CodeChallengeMethod
Gets or sets the code challenge method
Gets or sets the validated contents of the request object (if present)
public string
RequestObject
Gets or sets the request object (either passed by value or retrieved by reference)
public string
DPoPKeyThumbprint
The thumbprint of the associated DPoP proof key, if one was used.
public string
PushedAuthorizationReferenceValue
The reference value of the pushed authorization request, if one was used. Pushed authorization requests are passed by reference using the request_uri parameter, which is in the form urn:ietf:params:oauth:request_uri:{ReferenceValue}, where ReferenceValue is a random identifier. If a request_uri in that format is passed, the reference value portion will be extracted and saved here.
AuthorizeRequestType
Gets or sets a value indicating the context in which authorization validation is occurring (the PAR endpoint or the authorize endpoint with or without pushed parameters).
public bool
AccessTokenRequested
Gets a value indicating whether an access token was requested.
Gets or sets the raw request data
Client
Gets or sets the client.
public string
IssuerName
The name of the issuer for the current request
Secret
Gets or sets the secret used to authenticate the client.
public int
AccessTokenLifetime
Gets or sets the effective access token lifetime for the current request. This value is initally read from the client configuration but can be modified in the request pipeline
Gets or sets the client claims for the current request. This value is initally read from the client configuration but can be modified in the request pipeline
AccessTokenType
Gets or sets the effective access token type for the current request. This value is initally read from the client configuration but can be modified in the request pipeline
Gets or sets the subject.
public string
SessionId
Gets or sets the session identifier.
Gets or sets the identity server options.
ValidatedResources
Gets or sets the validated resources for the request.
public string
Confirmation
Gets or sets the value of the confirmation method (will become the cnf claim). Must be a JSON object.
ProofType
The type of proof for the request
public string
ClientId
Gets or sets the client ID that should be used for the current request (this is useful for token exchange scenarios)

Methods

public void
SetClient​(Models.​Client client, Models.​ParsedSecret? secret = null, string confirmation = "")
Inherited from ValidatedRequest
Sets the client and the appropriate request specific settings.
client The client.
secret The client secret (optional).
confirmation The confirmation.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object