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

Function authenticators

main.go:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32var embedded embed.FS
33
34func authenticators() []auth.Authenticator {
35 return []auth.Authenticator{
36 auth.NewPatAuthenticator(),
37 auth.NewOAuthAuthenticator(cache.NewFileCache(), *auth.NewBrowserLauncher()),
38 auth.NewBearerAuthenticator(cache.NewFileCache()),
39 }
40}
41
42func colorsSupported() bool {
43 _, noColorSet := os.LookupEnv("NO_COLOR")

Callers 1

mainFunction · 0.85

Calls 5

NewPatAuthenticatorFunction · 0.92
NewOAuthAuthenticatorFunction · 0.92
NewFileCacheFunction · 0.92
NewBrowserLauncherFunction · 0.92
NewBearerAuthenticatorFunction · 0.92

Tested by

no test coverage detected