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

Function FriendlyAppType

internal/display/apps.go:239–256  ·  view source on GitHub ↗
(appType string)

Source from the content-addressed store, hash-verified

237}
238
239func FriendlyAppType(appType string) string {
240 switch appType {
241 case "":
242 return "Generic"
243 case "non_interactive":
244 return friendlyM2M
245 case "native":
246 return friendlyNative
247 case "spa":
248 return friendlySpa
249 case "regular_web":
250 return friendlyReg
251 case "resource_server":
252 return friendlyResourceServer
253 default:
254 return appType
255 }
256}
257
258func mapPointerToArray(m *map[string]interface{}) []string {
259 var result []string

Callers 3

testTokenCmdFunction · 0.92
appPickerOptionsMethod · 0.92
makeApplicationViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected