Method |
Description |
|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, UserProvider $userProvider, Psr\Log\LoggerInterface $logger, Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\HttpFoundation\RequestStack $requestStack ) |
|
|
getToken ( ) : null | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
|
|
getUser ( ) : User | null |
Returns the current logged in User if available. Null if not or another token than Jarves' is active. |
|
isLoggedIn ( ) : boolean |
Returns true when a non AnonymousToken is set (which primarily means a real User is logged in) |
|
login ( string $username, string $password, null | string $requiredGroupRole = null ) : boolean |
|
|
logout ( ) |
|
|
manualLogin ( User $user ) |
|
|