| 1 | <?php  | 
            ||
| 19 | class JWKSetManager implements JWKSetManagerInterface  | 
            ||
| 20 | { | 
            ||
| 21 | use HasJWKManager;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * JWKSetManager constructor.  | 
            ||
| 25 | *  | 
            ||
| 26 | * @param \Jose\JWKManagerInterface $jwk_manager  | 
            ||
| 27 | */  | 
            ||
| 28 | public function __construct(JWKManagerInterface $jwk_manager)  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @var \Jose\Finder\JWKSetFinderInterface[]  | 
            ||
| 35 | */  | 
            ||
| 36 | private $finders = [];  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 |      * {@inheritdoc} | 
            ||
| 40 | */  | 
            ||
| 41 | public function addJWKSetFinder(JWKSetFinderInterface $finder)  | 
            ||
| 47 | |||
| 48 | /**  | 
            ||
| 49 |      * {@inheritdoc} | 
            ||
| 50 | */  | 
            ||
| 51 | public function findJWKSet(array $header)  | 
            ||
| 60 | |||
| 61 | /**  | 
            ||
| 62 |      * {@inheritdoc} | 
            ||
| 63 | */  | 
            ||
| 64 | public function createJWKSet(array $values = [])  | 
            ||
| 76 | }  | 
            ||
| 77 |