Class ValidatedAuthorizeRequest
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
Models a validated request to the authorize endpoint.
public class ValidatedAuthorizeRequest : ValidatedRequest- Inheritance
- 
      
      
      ValidatedAuthorizeRequest
- Derived
- Inherited Members
- Extension Methods
Constructors
ValidatedAuthorizeRequest()
Initializes a new instance of the ValidatedAuthorizeRequest class.
public ValidatedAuthorizeRequest()Properties
AccessTokenRequested
Gets a value indicating whether an access token was requested.
public bool AccessTokenRequested { get; }Property Value
- bool
- trueif an access token was requested; otherwise,- false.
AuthenticationContextReferenceClasses
Gets or sets the authentication context reference classes.
public List<string>? AuthenticationContextReferenceClasses { get; set; }Property Value
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 AuthorizeRequestType AuthorizeRequestType { get; set; }Property Value
CodeChallenge
Gets or sets the code challenge
public string? CodeChallenge { get; set; }Property Value
- string
- The code challenge 
CodeChallengeMethod
Gets or sets the code challenge method
public string? CodeChallengeMethod { get; set; }Property Value
- string
- The code challenge method 
DPoPKeyThumbprint
The thumbprint of the associated DPoP proof key, if one was used.
public string? DPoPKeyThumbprint { get; set; }Property Value
Description
Gets the description the user assigned to the device being authorized.
public string? Description { get; set; }Property Value
- string
- The description. 
DisplayMode
Gets or sets the display mode.
public string? DisplayMode { get; set; }Property Value
- string
- The display mode. 
GrantType
Gets or sets the grant type.
public string GrantType { get; set; }Property Value
- string
- The grant type. 
IsApiResourceRequest
Gets or sets a value indicating whether this instance is API resource request.
public bool IsApiResourceRequest { get; set; }Property Value
- bool
- trueif this instance is API resource request; otherwise,- false.
IsOpenIdRequest
Gets or sets a value indicating whether the request was an OpenID Connect request.
public bool IsOpenIdRequest { get; set; }Property Value
- bool
- trueif the request was an OpenID Connect request; otherwise,- false.
LoginHint
Gets or sets the login hint.
public string? LoginHint { get; set; }Property Value
- string
- The login hint. 
MaxAge
Gets or sets the maximum age.
public int? MaxAge { get; set; }Property Value
- int?
- The maximum age. 
Nonce
Gets or sets the nonce.
public string? Nonce { get; set; }Property Value
- string
- The nonce. 
OriginalPromptModes
Gets or sets the collection of original prompt modes.
public IEnumerable<string> OriginalPromptModes { get; set; }Property Value
- IEnumerable<string>
- The collection of original prompt modes. 
Remarks
The 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.
See also:
ProcessedPromptModes
Gets or sets the collection of previously processed prompt modes.
public IEnumerable<string> ProcessedPromptModes { get; set; }Property Value
- IEnumerable<string>
- The collection of processed prompt modes. 
Remarks
The 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.
PromptModes
Gets or sets the collection of prompt modes.
public IEnumerable<string> PromptModes { get; set; }Property Value
- IEnumerable<string>
- The collection of prompt modes, which changes as the request is processed and various prompts are displayed. 
Remarks
The 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.
See also: ProcessedPromptModes and OriginalPromptModes.
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.
public string? PushedAuthorizationReferenceValue { get; set; }Property Value
RedirectUri
Gets or sets the redirect URI.
public string RedirectUri { get; set; }Property Value
- string
- The redirect URI. 
RequestObject
Gets or sets the request object (either passed by value or retrieved by reference)
public string? RequestObject { get; set; }Property Value
- string
- The request object 
RequestObjectValues
Gets or sets the validated contents of the request object (if present)
public IEnumerable<Claim> RequestObjectValues { get; set; }Property Value
- IEnumerable<Claim>
- The request object values 
RequestedResourceIndicators
Gets or sets the requested resource indicators.
public IEnumerable<string>? RequestedResourceIndicators { get; set; }Property Value
RequestedScopes
Gets or sets the requested scopes.
public List<string> RequestedScopes { get; set; }Property Value
ResponseMode
Gets or sets the response mode.
public string ResponseMode { get; set; }Property Value
- string
- The response mode. 
ResponseType
Gets or sets the type of the response.
public string ResponseType { get; set; }Property Value
- string
- The type of the response. 
State
Gets or sets the state.
public string? State { get; set; }Property Value
- string
- The state. 
UiLocales
Gets or sets the UI locales.
public string? UiLocales { get; set; }Property Value
- string
- The UI locales. 
WasConsentShown
Gets or sets a value indicating whether consent was shown.
public bool WasConsentShown { get; set; }Property Value
- bool
- trueif consent was shown; otherwise,- false.