Microsoft 365 Connector

RoleEventSubscriber
in package
implements EventSubscriberInterface

Custom event subscriber to handle roles on login.

Table of Contents

Interfaces

EventSubscriberInterface

Properties

$rolesService  : RolesService

Methods

__construct()  : mixed
RoleEventSubscriber constructor.
getSubscribedEvents()  : array<string|int, mixed>
{@inheritdoc}
handleRoles()  : mixed
Handle the role logins.

Properties

Methods

getSubscribedEvents()

{@inheritdoc}

public static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed>

handleRoles()

Handle the role logins.

public handleRoles(ExternalAuthLoginEvent $event) : mixed
Parameters
$event : ExternalAuthLoginEvent

The ExternalAuthLoginEvent event containing the user.

✖ Error 404 while fetching file: ✖ Error 404 while fetching file: 
On this page

Search results