Skip to content

Commit

Permalink
Update secrets_keeper.go
Browse files Browse the repository at this point in the history
  • Loading branch information
shaj13 authored Jan 18, 2021
1 parent 546e864 commit b465740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth/strategies/jwt/secrets_keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// SecretsKeeper hold all secrets/keys to sign and parse JWT token
type SecretsKeeper interface {
// KID return's secret/key id.
// KID must return the least recently used id if more than one secret/key exists.
// KID must return the most recently used id if more than one secret/key exists.
// https://tools.ietf.org/html/rfc7515#section-4.1.4
KID() string
// Get return's secret/key and the corresponding sign method.
Expand Down

0 comments on commit b465740

Please sign in to comment.