Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvTopazAuthorizerSvc string = "TOPAZ_AUTHORIZER_SVC" EnvTopazAuthorizerKey string = "TOPAZ_AUTHORIZER_KEY" EnvTopazDirectorySvc string = "TOPAZ_DIRECTORY_SVC" EnvTopazDirectoryKey string = "TOPAZ_DIRECTORY_KEY" EnvTopazHeaderTenantID string = "TOPAZ_HEADER_TENANT_ID" EnvTopazHeaderSessionID string = "TOPAZ_HEADER_SESSION_ID" )
Variables ¶
This section is empty.
Functions ¶
func NewAuthorizerClient ¶ added in v0.25.12
func NewAuthorizerClient(c *cc.CommonCtx, cfg *AuthorizerConfig) (authorizer.AuthorizerClient, error)
Types ¶
type AuthorizerConfig ¶ added in v0.25.12
type Config ¶ added in v0.20.4
type Config struct { Host string `flag:"host" short:"H" help:"" env:"TOPAZ_DIRECTORY_SVC" default:"localhost:9292"` APIKey string `flag:"api-key" short:"k" help:"" env:"TOPAZ_DIRECTORY_KEY"` Insecure bool `flag:"insecure" short:"i" help:""` SessionID string `flag:"session-id" help:""` TenantID string `flag:"tenant-id" help:""` }
Click to show internal directories.
Click to hide internal directories.