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

Method ApplicationUpdate

internal/display/apps.go:202–210  ·  view source on GitHub ↗
(client *management.Client, revealSecrets bool)

Source from the content-addressed store, hash-verified

200}
201
202func (r *Renderer) ApplicationUpdate(client *management.Client, revealSecrets bool) {
203 r.Heading("application updated")
204
205 if !revealSecrets {
206 client.ClientSecret = auth0.String("")
207 }
208
209 r.Result(makeApplicationView(client, revealSecrets))
210}
211
212func makeApplicationView(client *management.Client, revealSecrets bool) *applicationView {
213 jsonRefreshToken, _ := json.Marshal(client.GetRefreshToken())

Callers 1

updateAppCmdFunction · 0.80

Calls 3

HeadingMethod · 0.95
ResultMethod · 0.95
makeApplicationViewFunction · 0.85

Tested by

no test coverage detected