auth0

package module
v0.0.0-...-05d0cbf Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

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