Registry / auth / scheb-2fa-bundle

scheb-2fa-bundle

JSON →
library8.5.0phppackagistunverified

A generic interface to implement two-factor authentication in Symfony applications

composer require scheb/2fa-bundle
INSTALL
IMPORT
SIG · SCHEB-2FA-BUNDLE
S
scheb-2fa-bundle
authphpv8.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TwoFactorProviderInterface
use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\TwoFactorProviderInterface;

Implement a custom two-factor authentication provider

use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\TwoFactorProviderInterface; class CustomProvider implements TwoFactorProviderInterface { public function beginAuthentication(\Symfony\Component\Security\Core\User\UserInterface $user) { } public function validateAuthenticationCode(\Symfony\Component\Security\Core\User\UserInterface $user, string $authenticationCode): bool { return true; } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.5.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
scheb-2fa-bundle — pip install scheb-2fa-bundle · libregistry