RemoveUserAllTokens Log out all users under this user id
(ctx context.Context, userID string)
| 134 | |
| 135 | // RemoveUserAllTokens Log out all users under this user id |
| 136 | func (as *AuthService) RemoveUserAllTokens(ctx context.Context, userID string) { |
| 137 | as.authRepo.RemoveUserTokens(ctx, userID, "") |
| 138 | } |
| 139 | |
| 140 | // RemoveTokensExceptCurrentUser remove all tokens except the current user |
| 141 | func (as *AuthService) RemoveTokensExceptCurrentUser(ctx context.Context, userID string, accessToken string) { |
no test coverage detected