O365ProfileRestResource
class O365ProfileRestResource extends ResourceBase
Provides a resource for get the Microsoft 365 profile data.
Properties
| protected AuthenticationService | $authService | The Microsoft 365 authentication service. |
|
| protected O365ProfileGetDataService | $getDataService | The service we use to get user data. |
|
| protected Request|null | $request | The page request. |
Methods
__construct(array $configuration, $plugin_id, $plugin_definition, array $serializer_formats, LoggerInterface $logger, O365ProfileGetDataService $getDataService, AuthenticationService $authenticationService, RequestStack $requestStack, AuthmapInterface $authmap)
No description
static
create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
{@inheritdoc}
ResourceResponse
get(string $uid)
Get the user data from Drupal and Microsoft 365.
Details
at line 59
__construct(array $configuration, $plugin_id, $plugin_definition, array $serializer_formats, LoggerInterface $logger, O365ProfileGetDataService $getDataService, AuthenticationService $authenticationService, RequestStack $requestStack, AuthmapInterface $authmap)
No description
at line 70
static
create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
{@inheritdoc}
at line 99
ResourceResponse
get(string $uid)
Get the user data from Drupal and Microsoft 365.