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

Method authenticatorContext

executor/http_executor.go:136–147  ·  view source on GitHub ↗
(ctx ExecutionContext, logger log.Logger, url string)

Source from the content-addressed store, hash-verified

134}
135
136func (e HttpExecutor) authenticatorContext(ctx ExecutionContext, logger log.Logger, url string) auth.AuthenticatorContext {
137 authRequest := *auth.NewAuthenticatorRequest(url, map[string]string{})
138 return *auth.NewAuthenticatorContext(
139 ctx.AuthConfig,
140 ctx.IdentityUri,
141 ctx.Settings.OperationId,
142 ctx.Settings.Insecure,
143 ctx.Debug,
144 authRequest,
145 logger,
146 )
147}
148
149func (e HttpExecutor) executeAuthenticators(ctx ExecutionContext, logger log.Logger, url string) (*auth.AuthenticatorResult, error) {
150 var token *auth.AuthToken = nil

Callers 1

executeAuthenticatorsMethod · 0.95

Calls 2

NewAuthenticatorRequestFunction · 0.92
NewAuthenticatorContextFunction · 0.92

Tested by

no test coverage detected