Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/web-token/jwt-framework/src/Easy/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/web-token/jwt-framework/src/Easy/Load.php

<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2020 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Jose\Easy;

class Load
{
    public static function jws(string $jws): Validate
    {
        return Validate::token($jws);
    }

    public static function jwe(string $jwe): Decrypt
    {
        return Decrypt::token($jwe);
    }
}