Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@..

Decoded Output download

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory;

use Symfony\Component\Config\Definition\Builder\NodeDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;

/**
 * @author Wouter de Jong <[email protected]>
 */
interface AuthenticatorFactoryInterface
{
    /**
     * Defines the priority at which the authenticator is called.
     */
    public function getPriority(): int;

    /**
     * Defines the configuration key used to reference the provider
     * in the firewall configuration.
     */
    public function getKey(): string;

    public function addConfiguration(NodeDefinition $builder): void;

    /**
     * Creates the authenticator service(s) for the provided configuration.
     *
     * @param array<string, mixed> $config
     *
     * @return string|string[] The authenticator service ID(s) to be used by the firewall
     */
    public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string|array;
}
 ?>

Did this file decode correctly?

Original Code

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Bundle\SecurityBundle\DependencyInjection\Security\Factory;

use Symfony\Component\Config\Definition\Builder\NodeDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;

/**
 * @author Wouter de Jong <[email protected]>
 */
interface AuthenticatorFactoryInterface
{
    /**
     * Defines the priority at which the authenticator is called.
     */
    public function getPriority(): int;

    /**
     * Defines the configuration key used to reference the provider
     * in the firewall configuration.
     */
    public function getKey(): string;

    public function addConfiguration(NodeDefinition $builder): void;

    /**
     * Creates the authenticator service(s) for the provided configuration.
     *
     * @param array<string, mixed> $config
     *
     * @return string|string[] The authenticator service ID(s) to be used by the firewall
     */
    public function createAuthenticator(ContainerBuilder $container, string $firewallName, array $config, string $userProviderId): string|array;
}

Function Calls

None

Variables

None

Stats

MD5 0547b488bd5599622c2776a2d76df912
Eval Count 0
Decode Time 97 ms