One Hat Cyber Team
Your IP:
216.73.216.48
Server IP:
198.54.114.155
Server:
Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
5.6.40
Create File
|
Create Folder
Execute
Dir :
~
/
proc
/
self
/
root
/
home
/
fluxyjvi
/
www
/
assets
/
images
/
Edit File:
Support.tar
RefreshFlow.php 0000644 00000001166 15107555234 0007516 0 ustar 00 <?php /* * This file is part of jwt-auth. * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tymon\JWTAuth\Support; trait RefreshFlow { /** * The refresh flow flag. * * @var bool */ protected $refreshFlow = false; /** * Set the refresh flow flag. * * @param bool $refreshFlow * @return $this */ public function setRefreshFlow($refreshFlow = true) { $this->refreshFlow = $refreshFlow; return $this; } } CustomClaims.php 0000644 00000001764 15107555234 0007677 0 ustar 00 <?php /* * This file is part of jwt-auth. * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tymon\JWTAuth\Support; trait CustomClaims { /** * Custom claims. * * @var array */ protected $customClaims = []; /** * Set the custom claims. * * @param array $customClaims * @return $this */ public function customClaims(array $customClaims) { $this->customClaims = $customClaims; return $this; } /** * Alias to set the custom claims. * * @param array $customClaims * @return $this */ public function claims(array $customClaims) { return $this->customClaims($customClaims); } /** * Get the custom claims. * * @return array */ public function getCustomClaims() { return $this->customClaims; } } Utils.php 0000644 00000003003 15107555234 0006360 0 ustar 00 <?php /* * This file is part of jwt-auth. * * (c) Sean Tymon <tymon148@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Tymon\JWTAuth\Support; use Carbon\Carbon; class Utils { /** * Get the Carbon instance for the current time. * * @return \Carbon\Carbon */ public static function now() { return Carbon::now('UTC'); } /** * Get the Carbon instance for the timestamp. * * @param int $timestamp * @return \Carbon\Carbon */ public static function timestamp($timestamp) { return Carbon::createFromTimestampUTC($timestamp)->timezone('UTC'); } /** * Checks if a timestamp is in the past. * * @param int $timestamp * @param int $leeway * @return bool */ public static function isPast($timestamp, $leeway = 0) { $timestamp = static::timestamp($timestamp); return $leeway > 0 ? $timestamp->addSeconds($leeway)->isPast() : $timestamp->isPast(); } /** * Checks if a timestamp is in the future. * * @param int $timestamp * @param int $leeway * @return bool */ public static function isFuture($timestamp, $leeway = 0) { $timestamp = static::timestamp($timestamp); return $leeway > 0 ? $timestamp->subSeconds($leeway)->isFuture() : $timestamp->isFuture(); } }
Simpan