Class DPoPConfirmation
- Namespace
- Fdyay.IdentityServer.Validation
- Assembly
- Fdyay.IdentityServer.Core.dll
Builds the RFC 9449 ยง6.1 confirmation that binds a token to the key its proof was signed with.
public static class DPoPConfirmation
- Inheritance
-
DPoPConfirmation
- Inherited Members
Remarks
The DPoP counterpart to X509Confirmation, and the two are alternatives rather than a pair: a token carries one confirmation, naming the one thing the client proved it holds.
Methods
ForThumbprint(string)
The cnf value naming a key by its thumbprint, as JSON.
public static string ForThumbprint(string thumbprint)
Parameters
thumbprintstring
Returns
Remarks
A thumbprint rather than a key, because by the time a token is being bound the proof has been validated and its thumbprint is the only part worth carrying forward.
ThumbprintOf(JsonWebKey)
The base64url RFC 7638 thumbprint of key.
public static string ThumbprintOf(JsonWebKey key)
Parameters
keyJsonWebKey