Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAuth0Domain = "https://hostin-proj.us.auth0.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth0Config ¶
type Auth0Config struct { sync.RWMutex Domain string `toml:"domain"` Token string `toml:"token"` ClientID string `toml:"client_id"` ClientSecret string `toml:"client_secret"` // contains filtered or unexported fields }
func (*Auth0Config) CreateClient ¶
func (c *Auth0Config) CreateClient() (*management.Management, error)
func (*Auth0Config) GetClient ¶
func (c *Auth0Config) GetClient() (management.Management, error)
Initialize Metrics + Tracing for the app. NOTE: you must call defer t.Stop() to propely cleanup
func (*Auth0Config) Merge ¶
func (c *Auth0Config) Merge(other *Auth0Config) error
func (*Auth0Config) RegisterFlags ¶
func (c *Auth0Config) RegisterFlags(f *flag.FlagSet)
func (*Auth0Config) Validate ¶
func (c *Auth0Config) Validate() error
Click to show internal directories.
Click to hide internal directories.