I was trying to check if the refresh token was revoked successfully, but the corresponding method revokeRefreshTokensByAccessTokenId doesn't return anything in RefreshTokenRepository.php
public function revokeRefreshTokensByAccessTokenId($tokenId)
{
Passport::refreshToken()->where('access_token_id', $tokenId)->update(['revoked' => true]);
}
Would it be possible to return the statement result?
I was trying to check if the refresh token was revoked successfully, but the corresponding method
revokeRefreshTokensByAccessTokenId
doesn't return anything inRefreshTokenRepository.php
Would it be possible to return the statement result?