PHP Интерфейс Jose\JWTLoaderInterface

Показать файл Открыть проект

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

Метод Описание
enableDecryptionSupport ( jose\DecrypterInterface $decrypter )
getSupportedCompressionMethods ( ) : string[]
getSupportedContentEncryptionAlgorithms ( ) : string[]
getSupportedKeyEncryptionAlgorithms ( ) : string[]
getSupportedSignatureAlgorithms ( ) : string[]
isDecryptionSupportEnabled ( ) : boolean
load ( string $assertion, Jose\Object\JWKSetInterface $encryption_key_set = null, boolean $is_encryption_required = false ) : Jose\Object\JWSInterface
verify ( Jose\Object\JWSInterface $jws, Jose\Object\JWKSetInterface $signature_key_set, string | null $detached_payload = null ) : integer

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

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

public enableDecryptionSupport ( jose\DecrypterInterface $decrypter )
$decrypter jose\DecrypterInterface

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

public getSupportedCompressionMethods ( ) : string[]
Результат string[]

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

public getSupportedContentEncryptionAlgorithms ( ) : string[]
Результат string[]

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

public getSupportedKeyEncryptionAlgorithms ( ) : string[]
Результат string[]

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

public getSupportedSignatureAlgorithms ( ) : string[]
Результат string[]

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

public isDecryptionSupportEnabled ( ) : boolean
Результат boolean

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

public load ( string $assertion, Jose\Object\JWKSetInterface $encryption_key_set = null, boolean $is_encryption_required = false ) : Jose\Object\JWSInterface
$assertion string
$encryption_key_set Jose\Object\JWKSetInterface
$is_encryption_required boolean
Результат Jose\Object\JWSInterface

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

public verify ( Jose\Object\JWSInterface $jws, Jose\Object\JWKSetInterface $signature_key_set, string | null $detached_payload = null ) : integer
$jws Jose\Object\JWSInterface
$signature_key_set Jose\Object\JWKSetInterface
$detached_payload string | null
Результат integer