Example #1
0
 public static function findByAccessToken($accessToken)
 {
     return Auth::where('access_token', '=', $accessToken)->firstOrFail();
 }