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.​Validation.​DefaultDPoPProofValidator

Assembly: Duende.IdentityServer

Inheritance: object → DefaultDPoPProofValidator

Implemented Interfaces

Default implementation of IDPoPProofValidator

Fields and Constants

Options
The options
protected readonly System.​TimeProvider
TimeProvider
The time provider
ReplayCache
The replay cache
The logger

Properties

The data protection provider

Methods

ValidateHeaderAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Validates the header.
ValidateSignatureAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Validates the signature.
ValidatePayloadAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result, System.​Threading.​CancellationToken ct)
Validates the payload.
ValidateReplayAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result, System.​Threading.​CancellationToken ct)
Validates is the token has been replayed.
ValidateFreshnessAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Validates the freshness.
ValidateIatAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Validates the freshness of the iat value.
ValidateNonceAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Validates the freshness of the nonce value.
protected string
CreateNonce​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Creates a nonce value to return to the client.
GetUnixTimeFromNonceAsync​(DPoPProofValidatonContext context, DPoPProofValidatonResult result)
Reads the time the nonce was created.
protected bool
IsExpired​(DPoPProofValidatonContext context, DPoPProofValidatonResult result, System.​TimeSpan clockSkew, long issuedAtTime)
Validates the expiration of the DPoP proof. Returns true if the time is beyond the allowed limits, false otherwise.
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