PHP Interface Jose\JWTLoaderInterface

Afficher le fichier Open project: spomky-labs/jose

Méthodes publiques

Méthode Description
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

Method Details

enableDecryptionSupport() public méthode

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

getSupportedCompressionMethods() public méthode

public getSupportedCompressionMethods ( ) : string[]
Résultat string[]

getSupportedContentEncryptionAlgorithms() public méthode

public getSupportedContentEncryptionAlgorithms ( ) : string[]
Résultat string[]

getSupportedKeyEncryptionAlgorithms() public méthode

public getSupportedKeyEncryptionAlgorithms ( ) : string[]
Résultat string[]

getSupportedSignatureAlgorithms() public méthode

public getSupportedSignatureAlgorithms ( ) : string[]
Résultat string[]

isDecryptionSupportEnabled() public méthode

public isDecryptionSupportEnabled ( ) : boolean
Résultat boolean

load() public méthode

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
Résultat Jose\Object\JWSInterface

verify() public méthode

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
Résultat integer