Skip to content

Commit

Permalink
Update serialize.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat authored Nov 9, 2024
1 parent 6498597 commit 10fe930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt/serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (e errStep) Serialize(_ SerializeCtx, _ interface{}) (interface{}, error) {
//
// serialized, err := jwt.NewSerializer().
// Sign(jwa.RS256, key).
// Encrypt(jwa.RSA_OAEP, key.PublicKey).
// Encrypt(jwe.WithEncryptOption(jwe.WithKey(jwa.RSA_OAEP(), publicKey))).
// Serialize(token)
//
// The `jwt.Sign()` function is equivalent to
Expand Down

0 comments on commit 10fe930

Please sign in to comment.