Binders/AuthenticationBinder.php

aphiria · src/Framework/src/Authentication/Binders/AuthenticationBinder.php · php · MIT
auth

Registers authentication services, including schemes, resolvers, and authenticators, into a dependency injection container to automate security setup.

// Source: https://github.com/aphiria/aphiria | License: MIT | Copyright 2025 David Young
// Provided via justclaw.it.com; keep this notice with the code.
<?php

/**
 * Aphiria
 *
 * @link      https://www.aphiria.com
 * @copyright Copyright (C) 2026 David Young
 * @license   https://github.com/aphiria/aphiria/blob/1.x/LICENSE.md
 */

declare(strict_types=1);

namespace Aphiria\Framework\Authentication\Binders;

use Aphiria\Authentication\AuthenticationSchemeRegistry;
use Aphiria\Authentication\Authenticator;
use Aphiria\Authentication\ContainerAuthenticationSchemeHandlerResolver;
use Aphiria\Authentication\IAuthenticationSchemeHandlerResolver;
use Aphiria\Authentication\IAuthenticator;
use Aphiria\Authentication\IMockAuthenticator;
use Aphiria\Authentication\IUserAccessor;
use Aphiria\Aut

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key