Skip to content

Commit

Permalink
Fix jwk cache docs (#885)
Browse files Browse the repository at this point in the history
* Fix example comment

* Upon re-reading, this sentence does not need to exist
  • Loading branch information
lestrrat committed Mar 21, 2023
1 parent 6d32357 commit db8f3fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/jwk_cache_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ MAIN:
return
}
_ = keyset
// The returned `keyset` will always be "reasonably" new. It is important that
// you always call `ar.Fetch()` before using the `keyset` as this is where the refreshing occurs.
// The returned `keyset` will always be "reasonably" new.
//
// By "reasonably" we mean that we cannot guarantee that the keys will be refreshed
// immediately after it has been rotated in the remote source. But it should be close\
Expand Down

0 comments on commit db8f3fb

Please sign in to comment.