Documentation ¶
Index ¶
Constants ¶
View Source
const (
SecretTokenType = "token"
)
Variables ¶
This section is empty.
Functions ¶
func WithHeader ¶
func WithHeader(rt http.RoundTripper) withHeader
Types ¶
type Auth0Error ¶
type Auth0Error struct { StatusCode int `json:"statusCode"` ErrorType string `json:"error"` Message string `json:"message"` ErrorCode string `json:"errorCode"` }
func (Auth0Error) Error ¶
func (e Auth0Error) Error() string
type ClientGrantResponse ¶
type ClientResponse ¶
type ClientResponse struct { Tenant string `json:"tenant"` Global bool `json:"global"` IsTokenEndpointIPHeaderTrusted bool `json:"is_token_endpoint_ip_header_trusted"` Name string `json:"name"` IsFirstParty bool `json:"is_first_party"` OIDCConformant bool `json:"oidc_conformant"` SSODisabled bool `json:"sso_disabled"` CrossOriginAuth bool `json:"cross_origin_auth"` // RefreshToken // SigningKeys ClientID string `json:"client_id"` CallbackURLTemplate bool `json:"callback_url_template"` ClientSecret string `json:"client_secret"` // JWTConfiguration TokenEndpointAuthMethod string `json:"token_endpoint_auth_method"` AppType string `json:"app_type"` GrantTypes []string `json:"grant_types"` CustomLoginPageOn bool `json:"custom_login_page_on"` }
https://auth0.com/docs/api/management/v2#!/Clients/post_rotate_secret TODO: verify if this works also with create client
type CreateClientBody ¶
type CreateClientBody struct { Name string `json:"name"` Description string `json:"description"` GrantTypes []string `json:"grant_types"` }
https://auth0.com/docs/api/management/v2#!/Clients/post_clients
type CreateClientGrantBody ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.