cc

package
v0.32.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TenantSuffix string = ".aserto.com"
)

Variables

This section is empty.

Functions

func GetCacheKey added in v0.8.4

func GetCacheKey(auth *config.Auth) token.CacheKey

func IsAsertoAccount added in v0.20.6

func IsAsertoAccount(name string) bool

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 (ctx *CommonCtx) AccessToken() (string, error)

func (*CommonCtx) AuthorizerAPIKey

func (ctx *CommonCtx) AuthorizerAPIKey() (string, error)

func (*CommonCtx) DecisionLogsKey added in v0.8.0

func (ctx *CommonCtx) DecisionLogsKey() (string, error)

func (*CommonCtx) DirectoryReadKey added in v0.20.7

func (ctx *CommonCtx) DirectoryReadKey() (string, error)

func (*CommonCtx) DirectoryWriteKey added in v0.20.7

func (ctx *CommonCtx) DirectoryWriteKey() (string, error)

func (*CommonCtx) DiscoveryKey added in v0.20.7

func (ctx *CommonCtx) DiscoveryKey() (string, error)

func (*CommonCtx) Logf added in v0.1.3

func (ctx *CommonCtx) Logf(format string, v ...interface{})

func (*CommonCtx) RegistryReadKey added in v0.20.7

func (ctx *CommonCtx) RegistryReadKey() (string, error)

func (*CommonCtx) RegistryWriteKey added in v0.20.7

func (ctx *CommonCtx) RegistryWriteKey() (string, error)

func (*CommonCtx) SaveContextConfig added in v0.20.6

func (ctx *CommonCtx) SaveContextConfig(configurationFile string) error

func (*CommonCtx) TenantID

func (ctx *CommonCtx) TenantID() string

func (*CommonCtx) Token

func (ctx *CommonCtx) Token() (*api.Token, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL