PHP Class Jose\Object\DownloadedJWKSet

Inheritance: implements Jose\Object\JWKSetInterface, use trait BaseJWKSet, use trait JWKSetPEM
Afficher le fichier Open project: spomky-labs/jose

Méthodes publiques

Méthode Description
__construct ( string $url, Psr\Cache\CacheItemPoolInterface $cache = null, integer $ttl = 86400, boolean $allow_unsecured_connection = false, boolean $allow_http_connection = false ) DownloadedJWKSet constructor.
addKey ( Jose\Object\JWKInterface $key )
removeKey ( $index )

Méthodes protégées

Méthode Description
getContent ( ) : string

Private Methods

Méthode Description
downloadContent ( ) : string

Method Details

__construct() public méthode

DownloadedJWKSet constructor.
public __construct ( string $url, Psr\Cache\CacheItemPoolInterface $cache = null, integer $ttl = 86400, boolean $allow_unsecured_connection = false, boolean $allow_http_connection = false )
$url string
$cache Psr\Cache\CacheItemPoolInterface
$ttl integer
$allow_unsecured_connection boolean
$allow_http_connection boolean

addKey() public méthode

public addKey ( Jose\Object\JWKInterface $key )
$key Jose\Object\JWKInterface

getContent() protected méthode

protected getContent ( ) : string
Résultat string

removeKey() public méthode

public removeKey ( $index )