Skip to content

Commit

Permalink
Add KeyfuncCtx method to interface (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahParks authored Mar 25, 2024
1 parent a6bfa43 commit b9d1823
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keyfunc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var (
// github.com/MicahParks/jwkset as a JWK Set storage.
type Keyfunc interface {
Keyfunc(token *jwt.Token) (any, error)
KeyfuncCtx(ctx context.Context) func(token *jwt.Token) (any, error)
Storage() jwkset.Storage
}

Expand Down

0 comments on commit b9d1823

Please # to comment.