RemoveTokensExceptCurrentUser remove all tokens except the current user
(ctx context.Context, userID string, accessToken string)
| 139 | |
| 140 | // RemoveTokensExceptCurrentUser remove all tokens except the current user |
| 141 | func (as *AuthService) RemoveTokensExceptCurrentUser(ctx context.Context, userID string, accessToken string) { |
| 142 | as.authRepo.RemoveUserTokens(ctx, userID, accessToken) |
| 143 | } |
| 144 | |
| 145 | // Admin |
| 146 |
no test coverage detected