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

Function currentPluginAuthParser

sdk/auth/filestore.go:43–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func currentPluginAuthParser() PluginAuthParser {
44 value := pluginAuthParserValue.Load()
45 if value == nil {
46 return nil
47 }
48 holder, ok := value.(pluginAuthParserHolder)
49 if !ok {
50 return nil
51 }
52 return holder.parser
53}
54
55// FileTokenStore persists token records and auth metadata using the filesystem as backing storage.
56type FileTokenStore struct {

Callers 1

readAuthFilesMethod · 0.85

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected