Class ConsentRequest
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.dll
Models the parameters to identify a request for consent.
public class ConsentRequest
- Inheritance
-
ConsentRequest
- Inherited Members
Constructors
ConsentRequest(AuthorizationRequest, string)
Initializes a new instance of the ConsentRequest class.
public ConsentRequest(AuthorizationRequest request, string subject)
Parameters
request
AuthorizationRequestThe request.
subject
stringThe subject.
ConsentRequest(NameValueCollection, string)
Initializes a new instance of the ConsentRequest class.
public ConsentRequest(NameValueCollection parameters, string subject)
Parameters
parameters
NameValueCollectionThe parameters.
subject
stringThe subject.
Properties
ClientId
Gets or sets the client identifier.
public string ClientId { get; set; }
Property Value
- string
The client identifier.
Id
Gets the identifier.
public string Id { get; }
Property Value
- string
The identifier.
Nonce
Gets or sets the nonce.
public string Nonce { get; set; }
Property Value
- string
The nonce.
ScopesRequested
Gets or sets the scopes requested.
public IEnumerable<string> ScopesRequested { get; set; }
Property Value
- IEnumerable<string>
The scopes requested.
Subject
Gets or sets the subject.
public string Subject { get; set; }
Property Value
- string
The subject.