MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Auth

Struct Auth

module/application-authorization/auth-driver/auth.go:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type Auth struct {
23 driver string
24 authConfig IAuthConfig
25}
26
27func (a *Auth) GenerateID(position string, tokenName string) string {
28 return fmt.Sprintf("%s-%s-%s-%s", position, tokenName, a.driver, a.authConfig.ID())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected