PHP 클래스 Neos\Neos\Controller\LoginController

상속: extends Neos\Flow\Security\Authentication\Controller\AbstractAuthenticationController
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$backendRedirectionService Neos\Neos\Service\BackendRedirectionService
$domainRepository Neos\Neos\Domain\Repository\DomainRepository
$loginTokenCache Neos\Cache\Frontend\StringFrontend
$session Neos\Flow\Session\SessionInterface
$sessionManager Neos\Flow\Session\SessionManagerInterface
$sessionName string
$siteRepository Neos\Neos\Domain\Repository\SiteRepository
$supportedMediaTypes array
$viewFormatToObjectNameMap array

공개 메소드들

메소드 설명
indexAction ( string $username = null, boolean $unauthorized = false ) : void Default action, displays the login screen
initializeIndexAction ( ) : void
logoutAction ( ) : void Logs out a - possibly - currently logged in account.
tokenLoginAction ( string $token ) : void Logs a user in if a session identifier is available under the given token in the token cache.

보호된 메소드들

메소드 설명
getErrorFlashMessage ( ) : boolean Disable the default error flash message
onAuthenticationFailure ( AuthenticationRequiredException $exception = null ) : void Is called if authentication failed.
onAuthenticationSuccess ( ActionRequest $originalRequest = null ) : void Is called if authentication was successful.
replaceSessionCookie ( string $sessionIdentifier ) : void Sets the session cookie to the given identifier, overriding an existing cookie.

메소드 상세

getErrorFlashMessage() 보호된 메소드

Disable the default error flash message
protected getErrorFlashMessage ( ) : boolean
리턴 boolean

indexAction() 공개 메소드

Default action, displays the login screen
public indexAction ( string $username = null, boolean $unauthorized = false ) : void
$username string Optional: A username to pre-fill into the username field
$unauthorized boolean
리턴 void

initializeIndexAction() 공개 메소드

public initializeIndexAction ( ) : void
리턴 void

logoutAction() 공개 메소드

The possible redirection URI is queried from the redirection service at first, before the actual logout takes place, and the session gets destroyed.
public logoutAction ( ) : void
리턴 void

onAuthenticationFailure() 보호된 메소드

Is called if authentication failed.
protected onAuthenticationFailure ( AuthenticationRequiredException $exception = null ) : void
$exception Neos\Flow\Security\Exception\AuthenticationRequiredException The exception thrown while the authentication process
리턴 void

onAuthenticationSuccess() 보호된 메소드

Is called if authentication was successful.
protected onAuthenticationSuccess ( ActionRequest $originalRequest = null ) : void
$originalRequest Neos\Flow\Mvc\ActionRequest The request that was intercepted by the security framework, NULL if there was none
리턴 void

replaceSessionCookie() 보호된 메소드

Sets the session cookie to the given identifier, overriding an existing cookie.
protected replaceSessionCookie ( string $sessionIdentifier ) : void
$sessionIdentifier string
리턴 void

tokenLoginAction() 공개 메소드

Logs a user in if a session identifier is available under the given token in the token cache.
public tokenLoginAction ( string $token ) : void
$token string
리턴 void

프로퍼티 상세

$backendRedirectionService 보호되어 있는 프로퍼티

protected BackendRedirectionService,Neos\Neos\Service $backendRedirectionService
리턴 Neos\Neos\Service\BackendRedirectionService

$domainRepository 보호되어 있는 프로퍼티

protected DomainRepository,Neos\Neos\Domain\Repository $domainRepository
리턴 Neos\Neos\Domain\Repository\DomainRepository

$loginTokenCache 보호되어 있는 프로퍼티

protected StringFrontend,Neos\Cache\Frontend $loginTokenCache
리턴 Neos\Cache\Frontend\StringFrontend

$session 보호되어 있는 프로퍼티

protected SessionInterface,Neos\Flow\Session $session
리턴 Neos\Flow\Session\SessionInterface

$sessionManager 보호되어 있는 프로퍼티

protected SessionManagerInterface,Neos\Flow\Session $sessionManager
리턴 Neos\Flow\Session\SessionManagerInterface

$sessionName 보호되어 있는 프로퍼티

protected string $sessionName
리턴 string

$siteRepository 보호되어 있는 프로퍼티

protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository
리턴 Neos\Neos\Domain\Repository\SiteRepository

$supportedMediaTypes 보호되어 있는 프로퍼티

protected array $supportedMediaTypes
리턴 array

$viewFormatToObjectNameMap 보호되어 있는 프로퍼티

protected array $viewFormatToObjectNameMap
리턴 array