MCPcopy Create free account
hub / github.com/UiPath/uipathcli / random

Function random

auth/oauth_authenticator_test.go:458–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

456}
457
458func random() string {
459 value, err := rand.Int(rand.Reader, big.NewInt(math.MaxInt64))
460 if err != nil {
461 panic(fmt.Errorf("Unexpected error generating new client id: %w", err))
462 }
463 return value.String()
464}
465
466type identityServerFake struct {
467 ResponseStatus int

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected