Skip to content

Commit

Permalink
Add constant for JWT key ID header
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Parks committed Feb 4, 2023
1 parent a4a4ed0 commit 405fc35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const (
CrvP384 CRV = "P-384"
// CrvP521 is a curve for ECDSA.
CrvP521 CRV = "P-521"

// HeaderKID is a JWT header for the key ID.
HeaderKID = "kid"
)

// ALG is a set of "JSON Web Signature and Encryption Algorithms" types from
Expand Down

0 comments on commit 405fc35

Please sign in to comment.