PHP Класс Jose\Object\DownloadedJWKSet

Наследование: implements Jose\Object\JWKSetInterface, use trait BaseJWKSet, use trait JWKSetPEM
Показать файл Открыть проект

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

Метод Описание
__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 )

Защищенные методы

Метод Описание
getContent ( ) : string

Приватные методы

Метод Описание
downloadContent ( ) : string

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

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

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 addKey ( Jose\Object\JWKInterface $key )
$key Jose\Object\JWKInterface

getContent() защищенный Метод

protected getContent ( ) : string
Результат string

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

public removeKey ( $index )