var errAuthnCrash …
const sharedLookupTimeout …
type cacheRecord …
type cacheWarning …
type cachedTokenAuthenticator …
type cache …
func New(authenticator authenticator.Token, cacheErrs bool, successTTL, failureTTL time.Duration) authenticator.Token { … }
func newWithClock(authenticator authenticator.Token, cacheErrs bool, successTTL, failureTTL time.Duration, clock clock.Clock) authenticator.Token { … }
func (a *cachedTokenAuthenticator) AuthenticateToken(ctx context.Context, token string) (*authenticator.Response, bool, error) { … }
func (a *cachedTokenAuthenticator) doAuthenticateToken(ctx context.Context, token string) *cacheRecord { … }
func keyFunc(hashPool *sync.Pool, auds []string, token string) string { … }
func writeLengthPrefixedString(w io.Writer, b []byte, s string) { … }
func writeLength(w io.Writer, b []byte, length int) { … }
func toBytes(s string) []byte { … }
func toString(b []byte) string { … }
type recorder …
func (r *recorder) AddWarning(agent, text string) { … }
func (r *recorder) extractWarnings() []*cacheWarning { … }