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

Function apiScopesFor

internal/cli/apis.go:693–702  ·  view source on GitHub ↗
(scopes []string)

Source from the content-addressed store, hash-verified

691}
692
693func apiScopesFor(scopes []string) *[]management.ResourceServerScope {
694 models := make([]management.ResourceServerScope, 0)
695
696 for _, scope := range scopes {
697 value := scope
698 models = append(models, management.ResourceServerScope{Value: &value})
699 }
700
701 return &models
702}
703
704func (c *cli) apiPickerOptions(ctx context.Context) (pickerOptions, error) {
705 return c.filteredAPIPickerOptions(ctx, func(r *management.ResourceServer) bool {

Callers 3

createQuickstartAPIFunction · 0.85
createAPICmdFunction · 0.85
updateAPICmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected