load() public method

public load ( $assertion, Jose\Object\JWKSetInterface $encryption_key_set = null, $is_encryption_required = false )
$encryption_key_set Jose\Object\JWKSetInterface
 /**
  * {@inheritdoc}
  */
 public function decode($token)
 {
     try {
         $jws = $this->jwt_loader->load($token, $this->encryption_jwkset, null !== $this->encryption_jwkset);
         $this->jwt_loader->verify($jws, $this->signature_jwkset);
         return $jws->getClaims();
     } catch (\Exception $e) {
         $reason = $this->getDecodeErrorReason($e->getMessage());
         throw new JWTDecodeFailureException($reason, sprintf('Invalid JWT Token: %s', $e->getMessage()), $e);
     }
 }