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

Function tokenExchangeCmd

internal/cli/token_exchange.go:54–70  ·  view source on GitHub ↗
(cli *cli)

Source from the content-addressed store, hash-verified

52)
53
54func tokenExchangeCmd(cli *cli) *cobra.Command {
55 cmd := &cobra.Command{
56 Use: "token-exchange",
57 Aliases: []string{"te"},
58 Short: "Manage token exchange profiles",
59 Long: "Manage token exchange profiles. Token exchange profiles enable secure token exchange flows for authentication and authorization.",
60 }
61
62 cmd.SetUsageTemplate(resourceUsageTemplate())
63 cmd.AddCommand(listTokenExchangeProfilesCmd(cli))
64 cmd.AddCommand(createTokenExchangeProfileCmd(cli))
65 cmd.AddCommand(showTokenExchangeProfileCmd(cli))
66 cmd.AddCommand(updateTokenExchangeProfileCmd(cli))
67 cmd.AddCommand(deleteTokenExchangeProfileCmd(cli))
68
69 return cmd
70}
71
72func listTokenExchangeProfilesCmd(cli *cli) *cobra.Command {
73 cmd := &cobra.Command{

Callers 1

addSubCommandsFunction · 0.85

Tested by

no test coverage detected