Documentation

Application

Interfaces, Classes, Traits and Enums

AuthenticationServiceInterface
The interface for the AuthenticationService.
O365LoggerServiceInterface
The interface for the O365LoggerService service.
GetFilesAndFoldersServiceInterface
Interface for GetFilesAndFoldersService class.
GetMailServiceInterface
Interface for the GetMailService class.
AuthenticationService
Service used to authenticate users between Office 365 and Drupal.
O365BlockBase
Custom block base for o365 for access checking.
O365UncachedBlockBase
Extending the O365BlockBase with a non-cachable dependency.
ConstantsService
Some constants we use in the code.
O365AuthScopesController
Returns responses for Office 365 Connector routes.
ApiSettingsForm
Settings form, used to set the API settings like client_id.
SettingsForm
Settings form for the o365 module.
GraphService
This is the GraphService.
HelperService
Service with some helpful methods that we use in different locations.
O365LoggerService
Our custom Logger service.
O365OAuth2Client
OAuth2 Client to authenticate with Office 365.
O365ContactsController
Returns responses for o365_contacts routes.
SearchContactForm
Provides a o365_contacts form.
SearchContactBlock
Provides a 'Contact Search' block.
O365GroupsFilesControllerAccessCheck
Access check class for the files controller.
O365GroupsFilesController
Returns responses for Office 365 - Groups routes.
GroupFilesService
Service that returns the list of files.
GroupsService
Service used to do all kinds of stuff with groups and teams.
SettingsForm
Configure o365_links settings for this site.
O365CacheInvalidator
Create a custom cache invalidator.
O365LinksConstants
Some constants we need in the links module.
O365LinksBlock
Provides a 'Office 365 Application Links' block.
OneDriveListController
Class OndeDriveListController.
GetFilesAndFoldersService
Class used to retrieve folder listings from onedrive.
RecentFilesBlock
Provides a 'Recent Files' block.
SharedFilesBlock
Provides a 'Shared Files' block.
OutlookCalendarSaveAjaxController
Returns responses for Office 365 - Outlook Calendar routes.
OutlookCalendarSettingsForm
Configure Office 365 - Outlook Calendar settings for this site.
OutlookCalendarSaveEventService
OutlookCalendarSaveEventService service.
AddToCalendarBlock
Provides an add node to calendar block.
CalendarBlock
Provides a 'Upcoming Appointments' block.
MyMailController
Controller that renders a list of emails belonging to the logged in user.
GetMailService
This service retrieves emails for the currently logged in user.
LatestMailBlock
Provides a 'Latest Mail' block.
LatestUnreadMailBlock
Provides a 'Latest Unread Mail' block.
O365ProfileAjaxController
Returns responses for Office 365 - Profiles and Personas routes.
O365ProfileTeamsLinksConfigForm
Configure Office 365 - Profiles and personas settings for this site.
O365ProfileGetDataService
O365ProfileGetDataService service gives basic information about the user.
O365ProfileTeamsService
The service too connect Teams with profiles.
PersonaBlock
Provides a 'Persona' block.
TeamsLinksBlock
Provides a 'Teams Links' block.
GetAccessTokenResource
Provides a resource to get view modes by entity and bundle.
O365SharepointFieldController
Returns responses for Office 365 - SharePoint Search Field routes.
CkEditorDialog
Our custom form used in the ckeditor plugin.
SharePoint
Defines the "SharePoint File Search" plugin, with a CKEditor.
SharePointSearchDefaultFormatter
Plugin implementation 'sharepoint_search_link' formatter.
SharePointSearchItem
Defines the 'sharepoint_search_link' field type.
SharePointSearchWidget
Defines the 'field_sharepoint_search_link' field widget.
O365SharepointController
Returns responses for o365_sharepoint_file routes.
SearchSharepointForm
Provides a o365_files form.
SharepointSearchBlock
Provides a 'Sharepoint File Search' block.
LoginCallbackController
LoginCallbackController. Call when returning from the o365 service.
LoginController
Login controller, let the user actually login.
UserLoginController
UserLoginController. Used when returned from the callback.
SettingsForm
Settings form for the SSO module.
UserLoginFormRouteSubscriber
Auto redirect users when the auto redirect option is enabled.
SettingsForm
Settings form for the o365_sso_user module.
SsoUserSync
User sync service that syncs data from Graph API to entities.
TeamsRecipientAutocompleteController
Custom controller for the autocomplete callback.
O365TeamsSendMessageForm
Provides an Office 365 - Teams integration form.
O365TeamsSendMessageService
This service is used to send messages to users / channels.

Table of Contents

hook_o365_auth_scopes()  : mixed
Create a list of authorization scopes.

Functions

hook_o365_auth_scopes()

Create a list of authorization scopes.

hook_o365_auth_scopes(array<string|int, mixed> &$scopes) : mixed
Parameters
$scopes : array<string|int, mixed>

An array of authorization scopes.

Return values
mixed

Search results