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

Method writeHtmlPage

auth/oauth_authenticator.go:301–304  ·  view source on GitHub ↗
(w http.ResponseWriter, html string)

Source from the content-addressed store, hash-verified

299}
300
301func (a OAuthAuthenticator) writeHtmlPage(w http.ResponseWriter, html string) {
302 w.Header().Set("Content-Type", "text/html")
303 _, _ = w.Write([]byte(html))
304}
305
306func (a OAuthAuthenticator) networkSettings(ctx AuthenticatorContext) network.HttpClientSettings {
307 return *network.NewHttpClientSettings(

Callers 1

loginMethod · 0.95

Calls 3

HeaderMethod · 0.80
SetMethod · 0.65
WriteMethod · 0.65

Tested by

no test coverage detected