Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(authenticator authenticator.Token, cacheErrs bool, successTTL, failureTTL time.Duration) authenticator.Token
New returns a token authenticator that caches the results of the specified authenticator. A ttl of 0 bypasses the cache.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.