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.​DefaultClaimsService

Assembly: Duende.IdentityServer

Inheritance: object → DefaultClaimsService

Implemented Interfaces

Default claims provider implementation

Fields and Constants

The logger
protected readonly IProfileService
Profile
The user service

Methods

Returns Claims for the identity token
subject The subject
resources The requested resources
includeAllIdentityClaims Specifies if all claims should be included in the token, or if the userinfo endpoint can be used to retrieve them
request The raw request
Returns Claims for the access token
subject The subject.
resourceResult The validated resource result
request The raw request.
GetStandardSubjectClaims​(System.​Security.​Claims.​ClaimsPrincipal subject)
Gets the standard subject claims.
Returns A list of standard claims
subject The subject.
GetOptionalClaims​(System.​Security.​Claims.​ClaimsPrincipal subject)
Gets additional (and optional) claims from the cookie or incoming subject.
Returns Additional claims
subject The subject.
claims The claims.
FilterRequestedClaimTypes​(System.​Collections.​Generic.​IEnumerable<​string> claimTypes)
Filters out protocol claims like amr, nonce etc..
claimTypes The claim types.
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