Documentation ¶
Overview ¶
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
View Source
const ( MaxAuth0Retries = 4 Auth0RetryInternal = 1 * time.Second )
Variables ¶
View Source
var TenantCmd = &cobra.Command{
Use: "tenant",
Short: "to do",
Long: `to do`,
}
tenantCmd represents the tenant command
Functions ¶
func InitRootConfig ¶
func InitRootConfig()
InitRootConfig initializes and loads the config for aws creds
Types ¶
type Auth0Client ¶
type Auth0Client struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` ClientID string `json:"client_id,omitempty"` // resp-only ClientSecret string `json:"client_secret,omitempty"` // resp-only LogoUri string `json:"logo_uri,omitempty"` IsFirstParty *bool `json:"is_first_party,omitempty"` // resp-only // for callbacks we don't want to omit the field if the value is empty as this will not allow users to clear out all // of their clients callback redirect_urls. Callbacks []string `json:"callbacks"` AllowedOrigins []string `json:"allowed_origins,omitempty"` WebOrigins []string `json:"web_origins,omitempty"` ClientAliases []string `json:"client_aliases,omitempty"` AllowedClients []string `json:"allowed_clients,omitempty"` AllowedLogoutUrls []string `json:"allowed_logout_urls,omitempty"` GrantTypes []string `json:"grant_types,omitempty"` TokenEndpointAuthMethod string `json:"token_endpoint_auth_method,omitempty"` AppType string `json:"app_type,omitempty"` OidcConformant bool `json:"oidc_conformant,omitempty"` JwtConfiguration *struct { LifetimeInSeconds float64 `json:"lifetime_in_seconds,omitempty"` SecretEncoded bool `json:"secret_encoded,omitempty"` // resp-only Scopes map[string]interface{} `json:"scopes,omitempty"` Alg string `json:"alg,omitempty"` } `json:"jwt_configuration,omitempty"` SigningKeys *[]map[string]interface{} `json:"signing_keys,omitempty"` // resp-only EncryptionKey *struct { Pub string `json:"pub,omitempty"` Cert string `json:"cert,omitempty"` Subject string `json:"subject,omitempty"` } `json:"encryption_key,omitempty"` Sso bool `json:"sso,omitempty"` CrossOriginAuth bool `json:"cross_origin_auth,omitempty"` CrossOriginLoc string `json:"cross_origin_loc,omitempty"` SsoDisabled bool `json:"sso_disabled,omitempty"` CustomLoginPageOn bool `json:"custom_login_page_on,omitempty"` CustomLoginPage string `json:"custom_login_page,omitempty"` CustomLoginPagePreview string `json:"custom_login_page_preview,omitempty"` FormTemplate string `json:"form_template,omitempty"` IsHerokuApp bool `json:"is_heroku_app,omitempty"` Addons *map[string]interface{} `json:"addons,omitempty"` ClientMetadata *map[string]interface{} `json:"client_metadata,omitempty"` Mobile *struct { Android map[string]interface{} IOS map[string]interface{} } `json:"mobile,omitempty"` IsTestOnly bool `json:"is_test_only,omitempty"` Scopes []string `json:"scopes,omitempty"` }
type Auth0Connector ¶
type Auth0PaginatedResponse ¶
type Auth0PaginatedResponse struct { Total int `json:"total"` Clients []Auth0Client `json:"clients"` }
Click to show internal directories.
Click to hide internal directories.