CacheStrategy defines jwt bearer authentication strategy which called `cache strategy`. Secrets are obtained through grpc api interface and cached in memory.
| 35 | // CacheStrategy defines jwt bearer authentication strategy which called `cache strategy`. |
| 36 | // Secrets are obtained through grpc api interface and cached in memory. |
| 37 | type CacheStrategy struct { |
| 38 | get func(kid string) (Secret, error) |
| 39 | } |
| 40 | |
| 41 | var _ middleware.AuthStrategy = &CacheStrategy{} |
| 42 |
nothing calls this directly
no outgoing calls
no test coverage detected