LogoutController
class LogoutController extends ControllerBase
Custom logout controller for o365_sso module.
Properties
| protected AccountInterface | $account | The current user. |
|
| protected ImmutableConfig | $config | The module config. |
|
| protected GraphService | $graphService | The o365 Graph service. |
Methods
__construct(ConfigFactoryInterface $configFactory, GraphService $o365Graph, AccountInterface $account)
The controller constructor.
static LogoutController
create(ContainerInterface $container)
{@inheritdoc}
logout()
Logout a user and redirect to office if needed.
Details
at line 42
__construct(ConfigFactoryInterface $configFactory, GraphService $o365Graph, AccountInterface $account)
The controller constructor.
at line 51
static LogoutController
create(ContainerInterface $container)
{@inheritdoc}
at line 63
logout()
Logout a user and redirect to office if needed.