MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / AuthDataToCoreAuth

Method AuthDataToCoreAuth

internal/pluginhost/auth_provider.go:406–412  ·  view source on GitHub ↗
(data pluginapi.AuthData, path, fileName string)

Source from the content-addressed store, hash-verified

404}
405
406func (h *Host) AuthDataToCoreAuth(data pluginapi.AuthData, path, fileName string) *coreauth.Auth {
407 authDir := ""
408 if h != nil {
409 authDir = h.hostConfigSummary().AuthDir
410 }
411 return pluginAuthDataToCoreAuth(data, path, fileName, authDir)
412}
413
414type pluginTokenStorage struct {
415 provider string

Callers 8

ModelsForAuthMethod · 0.95
callParseAuthsMethod · 0.95
RefreshAuthMethod · 0.95
RefreshMethod · 0.80
pluginLoginPollAuthsFunction · 0.80

Calls 2

hostConfigSummaryMethod · 0.95
pluginAuthDataToCoreAuthFunction · 0.85