__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?php
namespace Aws\Token;

use Aws\Identity\BearerTokenIdentity;
use Aws\Token\TokenInterface;

/**
 * Basic implementation of the AWS Token interface that allows callers to
 * pass in an AWS token in the constructor.
 */
class Token extends BearerTokenIdentity implements TokenInterface, \Serializable
{
    protected $token;
    protected $expires;

    /**
     * Constructs a new basic token object, with the specified AWS
     * token
     *
     * @param string $token   Security token to use
     * @param int    $expires UNIX timestamp for when the token expires
     */
    public function __construct($token, $expires = null)
    {
        $this->token = $token;
        $this->expires = $expires;
    }

    /**
     * Sets the state of a token object
     *
     * @param array $state   array containing 'token' and 'expires'
     */
    public static function __set_state(array $state)
    {
        return new self(
            $state['token'],
            $state['expires']
        );
    }

    /**
     * @return string
     */
    public function getToken()
    {
        return $this->token;
    }

    /**
     * @return int
     */
    public function getExpiration()
    {
        return $this->expires;
    }

    /**
     * @return bool
     */
    public function isExpired()
    {
        return $this->expires !== null && time() >= $this->expires;
    }

    /**
     * @return array
     */
    public function toArray()
    {
        return [
            'token'   => $this->token,
            'expires' => $this->expires
        ];
    }

    /**
     * @return string
     */
    public function serialize()
    {
        return json_encode($this->__serialize());
    }

    /**
     * Sets the state of the object from serialized json data
     */
    public function unserialize($serialized)
    {
        $data = json_decode($serialized, true);

        $this->__unserialize($data);
    }

    /**
     * @return array
     */
    public function __serialize()
    {
        return $this->toArray();
    }

    /**
     *  Sets the state of this object from an array
     */
    public function __unserialize($data)
    {
        $this->token = $data['token'];
        $this->expires = $data['expires'];
    }
}

Filemanager

Name Type Size Permission Actions
BearerTokenAuthorization.php File 1.01 KB 0777
ParsesIniTrait.php File 1.31 KB 0777
RefreshableTokenProviderInterface.php File 423 B 0777
SsoToken.php File 3.56 KB 0777
SsoTokenProvider.php File 9.29 KB 0777
Token.php File 2.19 KB 0777
TokenAuthorization.php File 645 B 0777
TokenInterface.php File 641 B 0777
TokenProvider.php File 8.36 KB 0777
Filemanager