| Current Path : /var/www/clients/client3/web2/web/vendor/web-token/jwt-framework/src/Easy/ |
| 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);
}
}