PHP 클래스 Contao\CoreBundle\Security\ContaoAuthenticator

상속: implements Symfony\Component\DependencyInjection\ContainerAwareInterface, implements Symfony\Component\Security\Http\Authentication\SimplePreAuthenticatorInterface, use trait Contao\CoreBundle\Framework\ScopeAwareTrait
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
authenticateToken ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, Symfony\Component\Security\Core\User\UserProviderInterface $userProvider, string $providerKey ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface | ContaoToken | AnonymousToken Authenticates a token.
createToken ( Request $request, string $providerKey ) : AnonymousToken Creates an authentication token.
supportsToken ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, string $providerKey ) : boolean Checks if the token is supported.

비공개 메소드들

메소드 설명
canSkipAuthentication ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : boolean Checks if the authentication can be skipped.

메소드 상세

authenticateToken() 공개 메소드

Authenticates a token.
public authenticateToken ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, Symfony\Component\Security\Core\User\UserProviderInterface $userProvider, string $providerKey ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface | ContaoToken | AnonymousToken
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$userProvider Symfony\Component\Security\Core\User\UserProviderInterface
$providerKey string
리턴 Symfony\Component\Security\Core\Authentication\Token\TokenInterface | Contao\CoreBundle\Security\Authentication\ContaoToken | Symfony\Component\Security\Core\Authentication\Token\AnonymousToken

createToken() 공개 메소드

Creates an authentication token.
public createToken ( Request $request, string $providerKey ) : AnonymousToken
$request Symfony\Component\HttpFoundation\Request
$providerKey string
리턴 Symfony\Component\Security\Core\Authentication\Token\AnonymousToken

supportsToken() 공개 메소드

Checks if the token is supported.
public supportsToken ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, string $providerKey ) : boolean
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$providerKey string
리턴 boolean