Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallOptions ¶
type CallOptions struct {
Default Options `json:"default"`
Overrides []OptionOverrides `json:"overrides"`
}
func (*CallOptions) ForPath ¶
func (co *CallOptions) ForPath(path string) *Options
type OptionOverrides ¶
type Options ¶
type Options struct {
// Require presence of tenant ID
NeedsTenant bool `json:"needs_tenant"`
// API Key for machine-to-machine communication, internal to Aserto
EnableAPIKey bool `json:"enable_api_key"`
// Tenant-scoped API key, allowing machine-to-machine communication
EnableMachineKey bool `json:"enable_machine_key"`
// Auth0 JWT, with an "aserto.com" audience
EnableAuth0Token bool `json:"enable_auth0_token"`
// Dex JWT
EnableDexToken bool `json:"enable_dex_token"`
// Allows calls without any form of authentication
EnableAnonymous bool `json:"enable_anonymous"`
}
Click to show internal directories.
Click to hide internal directories.