Documentation ¶
Index ¶
- Constants
- func GetCacheKey(auth *config.Auth) token.CacheKey
- func IsAsertoAccount(name string) bool
- type CommonCtx
- func (ctx *CommonCtx) AccessToken() (string, error)
- func (ctx *CommonCtx) AuthorizerAPIKey() (string, error)
- func (ctx *CommonCtx) DecisionLogsKey() (string, error)
- func (ctx *CommonCtx) DirectoryReadKey() (string, error)
- func (ctx *CommonCtx) DirectoryWriteKey() (string, error)
- func (ctx *CommonCtx) DiscoveryKey() (string, error)
- func (ctx *CommonCtx) Logf(format string, v ...interface{})
- func (ctx *CommonCtx) RegistryReadKey() (string, error)
- func (ctx *CommonCtx) RegistryWriteKey() (string, error)
- func (ctx *CommonCtx) SaveContextConfig(configurationFile string) error
- func (ctx *CommonCtx) TenantID() string
- func (ctx *CommonCtx) Token() (*api.Token, error)
Constants ¶
View Source
const (
TenantSuffix string = ".aserto.com"
)
Variables ¶
This section is empty.
Functions ¶
func IsAsertoAccount ¶ added in v0.20.6
Types ¶
type CommonCtx ¶
type CommonCtx struct { *topazCC.CommonCtx clients.Factory Config *config.Config Environment *x.Services Auth *auth0.Settings CachedToken *token.CachedToken DecisionLogger *dl.Settings }
func NewCommonCtx ¶ added in v0.8.0
func NewCommonCtx(tc *topazCC.CommonCtx, configPath config.Path, overrides ...config.Overrider) (*CommonCtx, error)
NewCommonCtx, CommonContext constructor (extracted from wire).
func (*CommonCtx) AccessToken ¶
func (*CommonCtx) AuthorizerAPIKey ¶
func (*CommonCtx) DecisionLogsKey ¶ added in v0.8.0
func (*CommonCtx) DirectoryReadKey ¶ added in v0.20.7
func (*CommonCtx) DirectoryWriteKey ¶ added in v0.20.7
func (*CommonCtx) DiscoveryKey ¶ added in v0.20.7
func (*CommonCtx) RegistryReadKey ¶ added in v0.20.7
func (*CommonCtx) RegistryWriteKey ¶ added in v0.20.7
func (*CommonCtx) SaveContextConfig ¶ added in v0.20.6
Click to show internal directories.
Click to hide internal directories.