MCPcopy Create free account
hub / github.com/daodst/chat / PerformLoginTokenDeletion

Method PerformLoginTokenDeletion

userapi/api/api_logintoken.go:35–35  ·  view source on GitHub ↗

PerformLoginTokenDeletion ensures the token doesn't exist. Success is returned even if the token didn't exist, or was already deleted.

(ctx context.Context, req *PerformLoginTokenDeletionRequest, res *PerformLoginTokenDeletionResponse)

Source from the content-addressed store, hash-verified

33 // PerformLoginTokenDeletion ensures the token doesn't exist. Success
34 // is returned even if the token didn't exist, or was already deleted.
35 PerformLoginTokenDeletion(ctx context.Context, req *PerformLoginTokenDeletionRequest, res *PerformLoginTokenDeletionResponse) error
36
37 // QueryLoginToken returns the data associated with a login token. If
38 // the token is not valid, success is returned, but res.Data == nil.

Callers 4

TestLoginTokenFunction · 0.65
addRoutesLoginTokenFunction · 0.65
LoginFromJSONMethod · 0.65

Implementers 4

UserInternalAPIuserapi/internal/api.go
httpUserInternalAPIuserapi/inthttp/client.go
UserInternalAPITraceuserapi/api/api_trace.go
fakeUserInternalAPIclientapi/auth/login_test.go

Calls

no outgoing calls

Tested by 1

TestLoginTokenFunction · 0.52