(ctx context.Context, accessToken string)
| 186 | } |
| 187 | |
| 188 | func (as *AuthService) RemoveAdminUserCacheInfo(ctx context.Context, accessToken string) (err error) { |
| 189 | return as.authRepo.RemoveAdminUserCacheInfo(ctx, accessToken) |
| 190 | } |
| 191 | func (as *AuthService) AuthAPIKey(ctx context.Context, read bool, apiKey string) (pass bool, err error) { |
| 192 | apiKeyInfo, exist, err := as.apiKeyRepo.GetAPIKey(ctx, apiKey) |
| 193 | if err != nil { |
nothing calls this directly
no test coverage detected