Documentation
¶
Index ¶
Constants ¶
View Source
const ( Auth0DevClientId = "N53szkXwrMZmWiMQ96bJVCSuafn6myMR" Auth0DevBaseUrl = "https://auth.nucleuscloud.dev" Auth0StageClientId = "IHJD9fSlrH4p9WhPYp6uJe0yFNr26ZLy" Auth0StageBaseUrl = "https://auth.stage.nucleuscloud.com" Auth0ProdClientId = "6zk97YDDj9YplY9jqOaHmKYojhEXquD8" Auth0ProdBaseUrl = "https://auth.nucleuscloud.com" ApiAudience = "https://api.nucleuscloud.com" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClientInterface ¶
type AuthClientInterface interface { ValidateToken(ctx context.Context, accessToken string) error GetLogoutUrl() (string, error) GetAuthorizeUrl(scopes []string, state string, redirectUri string, org *string) string }
func NewAuthClient ¶
func NewAuthClient(tenantUrl, clientId, audience string) (AuthClientInterface, error)
func NewAuthClientByEnv ¶
func NewAuthClientByEnv(envType clienv.NucleusEnv) (AuthClientInterface, error)
type AuthDeviceResponse ¶
Click to show internal directories.
Click to hide internal directories.