MCPcopy Index your code
hub / github.com/apache/answer / RemoveUserVisitCacheInfo

Method RemoveUserVisitCacheInfo

internal/service/auth/auth.go:123–128  ·  view source on GitHub ↗
(ctx context.Context, visitToken string)

Source from the content-addressed store, hash-verified

121}
122
123func (as *AuthService) RemoveUserVisitCacheInfo(ctx context.Context, visitToken string) (err error) {
124 if len(visitToken) > 0 {
125 return as.authRepo.RemoveUserVisitCacheInfo(ctx, visitToken)
126 }
127 return nil
128}
129
130// AddUserTokenMapping add user token mapping
131func (as *AuthService) AddUserTokenMapping(ctx context.Context, userID, accessToken string) (err error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected