Documentation
¶
Index ¶
- func IsExecutionFailedError(err error) bool
- func IsInvalidConfig(err error) bool
- func IsResourceExists(err error) bool
- func Login(clientID, clientSecret, tenant string) error
- func Logout(tenant string) error
- type Auth0
- func (a0 *Auth0) CreateResourceServer(rr *ResouceServer) (*ResouceServer, error)
- func (a0 *Auth0) DeleteResourceServer(identifier string) error
- func (a0 *Auth0) GetClient(clientID string) (*Client, error)
- func (a0 *Auth0) ResourceServerExists(identifier string) (bool, error)
- func (a0 *Auth0) UpdateClient(clientID string, client *Client) error
- type Client
- type ClientCredentials
- type Config
- type ResouceServer
- type TokenConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExecutionFailedError ¶
IsInvalidFlags asserts invalidFlagsError.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsResourceExists ¶
IsResourceExists asserts resourceExistsError.
Types ¶
type Auth0 ¶
type Auth0 struct {
// contains filtered or unexported fields
}
func (*Auth0) CreateResourceServer ¶
func (a0 *Auth0) CreateResourceServer(rr *ResouceServer) (*ResouceServer, error)
func (*Auth0) DeleteResourceServer ¶
func (*Auth0) ResourceServerExists ¶
type ClientCredentials ¶
type ResouceServer ¶
type ResouceServer struct {
Name string `json:"name"`
Identifier string `json:"identifier"`
AllowOfflineAccess bool `json:"allow_offline_access"`
TokenLifetime int `json:"token_lifetime"`
TokenLifetimeWeb int `json:"token_lifetime_for_web"`
SigningAlgorithm string `json:"signing_alg"`
SkipConsentForVerifiableFirstPartyClients bool `json:"skip_consent_for_verifiable_first_party_clients"`
EnforcePolicy bool `json:"enforce_policies"`
}
type TokenConfig ¶
Click to show internal directories.
Click to hide internal directories.