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

Method Save

sdk/cliproxy/auth/store.go:10–10  ·  view source on GitHub ↗

Save persists the provided auth record, replacing any existing one with same ID.

(ctx context.Context, auth *Auth)

Source from the content-addressed store, hash-verified

8 List(ctx context.Context) ([]*Auth, error)
9 // Save persists the provided auth record, replacing any existing one with same ID.
10 Save(ctx context.Context, auth *Auth) (string, error)
11 // Delete removes the auth record identified by id.
12 Delete(ctx context.Context, id string) error
13}

Callers 9

DoVertexImportFunction · 0.65
saveTokenRecordMethod · 0.65
ensureAccessTokenFunction · 0.65
persistCooldownStatesMethod · 0.65
persistMethod · 0.65
LoginMethod · 0.65

Implementers 10

commandLineAuthStoreinternal/pluginhost/command_line_test.
PostgresStoreinternal/store/postgresstore.go
ObjectTokenStoreinternal/store/objectstore.go
GitTokenStoreinternal/store/gitstore.go
stubStoreinternal/watcher/watcher_test.go
pluginLoginRollbackStoreinternal/api/handlers/management/auth_
memoryAuthStoreinternal/api/handlers/management/test_
countingStoresdk/cliproxy/auth/persist_policy_test.
requestPrepareStoresdk/cliproxy/auth/request_auth_prepare
FileTokenStoresdk/auth/filestore.go

Calls

no outgoing calls