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.​Services.​DefaultConsentService
Assembly: Duende.IdentityServer
Inheritance: object → DefaultConsentService
Implemented Interfaces
Default consent service
Fields and Constants
protected readonly
Stores.​IUserConsentStore
UserConsentStore
The user consent store
protected readonly
IClock
Clock
The clock
protected readonly
Microsoft.​Extensions.​Logging.​ILogger<​DefaultConsentService>
Logger
The logger
Methods
public
System.​Threading.​Tasks.​Task<​bool>
RequiresConsentAsync​(System.​Security.​Claims.​ClaimsPrincipal subject,
Models.​Client client,
System.​Collections.​Generic.​IEnumerable<​Validation.​ParsedScopeValue> parsedScopes)
Checks if consent is required.
Returns Boolean if consent is required.
subject
The user.
client
The client.
parsedScopes
The parsed scopes.
UpdateConsentAsync​(System.​Security.​Claims.​ClaimsPrincipal subject,
Models.​Client client,
System.​Collections.​Generic.​IEnumerable<​Validation.​ParsedScopeValue> parsedScopes)
Updates the consent asynchronously.
subject
The subject.
client
The client.
parsedScopes
The parsed scopes.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object