MCPcopy Create free account
hub / github.com/auth0/auth0-cli / printAPIDetails

Function printAPIDetails

internal/cli/quickstarts.go:1036–1047  ·  view source on GitHub ↗
(cli *cli, rs *management.ResourceServer)

Source from the content-addressed store, hash-verified

1034}
1035
1036func printAPIDetails(cli *cli, rs *management.ResourceServer) {
1037 cli.renderer.Newline()
1038 cli.renderer.Successf("An API %s has been created and registered", ansi.Magenta(rs.GetName()))
1039 cli.renderer.Detailf("Identifier: %s", ansi.Magenta(rs.GetIdentifier()))
1040 cli.renderer.Newline()
1041
1042 manageTenantURL := formatManageTenantURL(cli.Config.DefaultTenant, &cli.Config)
1043 settingsURL := fmt.Sprintf("%s%s", manageTenantURL, formatAPISettingsPath(rs.GetID()))
1044
1045 cli.renderer.Successf("You can manage your API from here:")
1046 cli.renderer.Detailf("%s", ansi.Magenta(settingsURL))
1047}
1048
1049// createQuickstartApp creates an Auth0 application client for the given quickstart config key,
1050// writes the env config file, and prints setup guidance. It returns the newly created client ID.

Callers 1

createQuickstartAPIFunction · 0.85

Calls 7

MagentaFunction · 0.92
formatManageTenantURLFunction · 0.85
formatAPISettingsPathFunction · 0.85
NewlineMethod · 0.80
SuccessfMethod · 0.80
DetailfMethod · 0.80
GetNameMethod · 0.65

Tested by

no test coverage detected