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.
interface Duende.​IdentityServer.​Services.​IConsentService
Assembly: Duende.IdentityServer
Service to retrieve and update consent.
Methods
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.
subject
The subject.
client
The client.
parsedScopes
The parsed scopes.