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

Function apiDefaultAuthMethodFor

internal/cli/apps.go:1006–1013  ·  view source on GitHub ↗
(t string)

Source from the content-addressed store, hash-verified

1004}
1005
1006func apiDefaultAuthMethodFor(t string) *string {
1007 switch apiTypeFor(strings.ToLower(t)) {
1008 case appTypeNative, appTypeSPA:
1009 return auth0.String("none")
1010 default:
1011 return nil
1012 }
1013}
1014
1015func apiGrantsFor(s []string) *[]string {
1016 res := make([]string, len(s))

Callers 1

createAppCmdFunction · 0.85

Calls 1

apiTypeForFunction · 0.85

Tested by

no test coverage detected