PHP 클래스 Auth0\SDK\JWTVerifier

파일 보기 프로젝트 열기: auth0/auth0-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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