class SsoUserSync

User sync service that syncs data from Graph API to entities.

Properties

protected ImmutableConfig $config

The modules config.

protected ConfigFactoryInterface $configFactory

The config factory.

protected EntityTypeManagerInterface $entityTypeManager

The entity type manager.

protected FileRepositoryInterface $fileRepository

The file repository.

protected GraphService $graphService

The o365 Graph Service.

protected O365ProfileGetDataService $profileGetDataService

The profile data service.

Methods

__construct(ConfigFactoryInterface $config_factory, GraphService $graphService, EntityTypeManagerInterface $entityTypeManager, O365ProfileGetDataService $o365ProfileGetDataService, FileRepositoryInterface $fileRepository, FileSystemInterface $fileSystem)

Constructs a SsoUserSync object.

void
syncUserData($user)

Sync the user data with data from the graph API.

Details

at line 84
__construct(ConfigFactoryInterface $config_factory, GraphService $graphService, EntityTypeManagerInterface $entityTypeManager, O365ProfileGetDataService $o365ProfileGetDataService, FileRepositoryInterface $fileRepository, FileSystemInterface $fileSystem)

Constructs a SsoUserSync object.

Parameters

ConfigFactoryInterface $config_factory

The config factory.

GraphService $graphService

The Graph API service.

EntityTypeManagerInterface $entityTypeManager

The entity type manager.

O365ProfileGetDataService $o365ProfileGetDataService

The profile data service.

FileRepositoryInterface $fileRepository

The drupal file repository.

FileSystemInterface $fileSystem

The drupal file system.

at line 97
void syncUserData($user)

Sync the user data with data from the graph API.

Parameters

$user

Return Value

void