메소드 | 설명 | |
---|---|---|
__construct ( eZ\Publish\Core\MVC\Symfony\Security\Authentication\AuthenticatorInterface $authenticator, $tokenIntention, Symfony\Component\Security\Csrf\CsrfTokenManager $csrfTokenManager = null, Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface $csrfTokenStorage = null ) | ||
createSessionAction ( |
Creates a new session based on the credentials provided as POST parameters. | |
deleteSessionAction ( string $sessionId, |
Deletes given session. | |
refreshSessionAction ( string $sessionId, |
Refresh given session. |
메소드 | 설명 | |
---|---|---|
checkCsrfToken ( |
Checks the presence / validity of the CSRF token. | |
getCsrfToken ( ) : string | Returns the csrf token for REST. The token is generated if it doesn't exist. | |
hasStoredCsrfToken ( ) : boolean | Tests if a CSRF token is stored. |
public __construct ( eZ\Publish\Core\MVC\Symfony\Security\Authentication\AuthenticatorInterface $authenticator, $tokenIntention, Symfony\Component\Security\Csrf\CsrfTokenManager $csrfTokenManager = null, Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface $csrfTokenStorage = null ) | ||
$authenticator | eZ\Publish\Core\MVC\Symfony\Security\Authentication\AuthenticatorInterface | |
$csrfTokenManager | Symfony\Component\Security\Csrf\CsrfTokenManager | |
$csrfTokenStorage | Symfony\Component\Security\Csrf\TokenStorage\TokenStorageInterface |
public createSessionAction ( |
||
$request | ||
리턴 |
public deleteSessionAction ( string $sessionId, |
||
$sessionId | string | |
$request | ||
리턴 |
public refreshSessionAction ( string $sessionId, |
||
$sessionId | string | |
$request | ||
리턴 |