Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HeaderType defines typ claim value HeaderType = "dpop+jwt" // ExpirationTreshold defines clock swrew tolerance ExpirationTreshold = 15 * time.Second // JTICodeLength defines JTI claim string length JTICodeLength = 16 )
Variables ¶
This section is empty.
Functions ¶
func WithTokenConfirmation ¶
func WithTokenConfirmation(jkt string) func(opts *options)
func WithTokenValue ¶
func WithTokenValue(t string) func(opts *options)
Types ¶
type Prover ¶
Prover describes prover contract
func DefaultProver ¶
func DefaultProver(signer token.Serializer) Prover
DefaultProver uses the given signer to generate a DPoP Proof.
Click to show internal directories.
Click to hide internal directories.