Documentation ¶
Overview ¶
Package acl performs access control with ACL.
Index ¶
Constants ¶
View Source
const ( // new goma client client_id // https://chromium.googlesource.com/infra/goma/client/+/70685d6cbb19c108d8abf2235edd2d02bed8dded/client/oauth2.cc#72 GomaClientClientID = "687418631491-r6m1c3pr0lth5atp4ie07f03ae8omefc.apps.googleusercontent.com" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
Checker checks token.
func (*Checker) CheckToken ¶
func (c *Checker) CheckToken(ctx context.Context, token *oauth2.Token, tokenInfo *auth.TokenInfo) (string, *oauth2.Token, error)
CheckToken checks token and returns group id and token used for backend API.
type DefaultAllowlist ¶ added in v0.0.14
type DefaultAllowlist struct{}
DefaultAllowlist is a loader to provide default allow list, which pass through EUC.
type FileLoader ¶
type FileLoader struct {
Filename string
}
FileLoader loads acl data from Filename.
Click to show internal directories.
Click to hide internal directories.