public function create(array $serializers, array $keyEncryptionAlgorithms, array $contentEncryptionAlgorithms, array $compressionMethods, array $headerCheckers = []): JWELoader
    {
        $serializerManager = $this->jweSerializerManagerFactory->create($serializers);
        $jweDecrypter = $this->jweDecrypterFactory->create($keyEncryptionAlgorithms, $contentEncryptionAlgorithms, $compressionMethods);
        if (null !== $this->headerCheckerManagerFactory) {
            $headerCheckerManager = $this->headerCheckerManagerFactory->create($headerCheckers);
        } else {
            $headerCheckerManager = null;
        }

        return new JWELoader($serializerManager, $jweDecrypter, $headerCheckerManager);
    }
public function create(array $serializers, array $keyEncryptionAlgorithms, array $contentEncryptionAlgorithms, array $compressionMethods, array $headerCheckers = []): JWELoader
    {
        $serializerManager = $this->jweSerializerManagerFactory->create($serializers);
        $jweDecrypter = $this->jweDecrypterFactory->create($keyEncryptionAlgorithms, $contentEncryptionAlgorithms, $compressionMethods);
        if (null !== $this->headerCheckerManagerFactory) {
            $headerCheckerManager = $this->headerCheckerManagerFactory->create($headerCheckers);
        } else {
            $headerCheckerManager = null;
        }

        return new JWELoader($serializerManager, $jweDecrypter, $headerCheckerManager);
    }
public function create ( array $ serializers , array $ keyEncryptionAlgorithms , array $ contentEncryptionAlgorithms , array $ compressionMethods , array $ headerCheckers = [ ] ) : JWELoader { $ serializerManager = $ this -> jweSerializerManagerFactory -> create ( $ serializers ) ; $ jweDecrypter = $ this -> jweDecrypterFactory -> create ( $ keyEncryptionAlgorithms , $ contentEncryptionAlgorithms , $ compressionMethods ) ; if ( null !== $ this -> headerCheckerManagerFactory ) { $ headerCheckerManager = $ this -> headerCheckerManagerFactory -> create ( $ headerCheckers ) ; } else { $ headerCheckerManager = null ; } return new JWELoader ( $ serializerManager , $ jweDecrypter , $ headerCheckerManager ) ; }
Creates a JWELoader using the given serializer aliases, encryption algorithm aliases, compression method aliases
and header checker aliases.
Creates a JWELoader using the given serializer aliases encryption algorithm aliases compression method aliases and header checker aliases .