{"modulePath":"github.com/2lambda123/openshift-origin","version":"v1.5.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cache\n\n## Functions\n\n```go\nfunc NewAuthenticator(a authenticator.Token, ttl time.Duration, maxCount int) (authenticator.Token, error)\n```\nNewAuthenticator returns an authenticator that caches the results of the given authenticator\n\n## Types\n\n```go\ntype CacheAuthenticator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (c *CacheAuthenticator) AuthenticateToken(token string) (user.Info, bool, error)\n```\n\n","path":"github.com/2lambda123/openshift-origin/pkg/auth/authenticator/token/cache","name":"cache","synopsis":"","isRedistributable":true}
