MCPcopy Index your code
hub / github.com/coder/coder / authCache

Struct authCache

coderd/rbac/authz.go:757–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757type authCache struct {
758 // cache is a cache of hashed Authorize inputs to the result of the Authorize
759 // call.
760 // deterministic function.
761 cache *tlru.Cache[[32]byte, error]
762
763 authz Authorizer
764}
765
766// Cacher returns an Authorizer that can use a cache to short circuit duplicate
767// calls to the Authorizer. This is useful when multiple calls are made to the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected