PHP Класс Auth0\SDK\JWTVerifier

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$JWKFetcher
$authorized_iss
$client_secret
$suported_algs
$valid_audiences

Открытые методы

Метод Описание
__construct ( $config ) JWTVerifier Constructor.
verifyAndDecode ( $jwt )

Описание методов

__construct() публичный Метод

Configuration: - cache (CacheHandler) Optional. Should be an instance of CacheHandler that is going to be used to cache the JWKs - suported_algs (Array) Optional. The list of supported algorithms. By default only HS256 - client_secret (String) Required (if supported HS256). The Auth0 application secret. - valid_audiences (Array) Required. The list of audiences accepted by the service. - authorized_iss (Array) Required (if supported RS256). The list of issuers trusted by the service. - guzzle_options (Array) Optional Extra configuration options sent to guzzle.
public __construct ( $config )

verifyAndDecode() публичный Метод

public verifyAndDecode ( $jwt )

Описание свойств

$JWKFetcher защищенное свойство

protected $JWKFetcher

$authorized_iss защищенное свойство

protected $authorized_iss

$client_secret защищенное свойство

protected $client_secret

$suported_algs защищенное свойство

protected $suported_algs

$valid_audiences защищенное свойство

protected $valid_audiences