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.
Audit
Dependencies
No dependency data recorded yet.