AuthenticationServiceInterface
interface AuthenticationServiceInterface
The interface for the AuthenticationService.
Methods
string|bool
checkForOfficeLogin()
Check if a user is logged in via Office.
string|false
getAccessToken(bool $login = FALSE)
Get the access token for the user.
mixed
redirectToAuthorizationUrl(O365ConnectorInterface $o365_connector)
Redirect the user to the correct Microsoft pages for OAuth2.
void
saveAuthDataFromUrl()
Save the auth data from the url parameters in the user session storage.
setAccessToken(string $code, O365ConnectorInterface $o365_connector, string $redirect = '')
Generate and save the access token.
Details
at line 63
string|bool
checkForOfficeLogin()
Check if a user is logged in via Office.
at line 48
string|false
getAccessToken(bool $login = FALSE)
Get the access token for the user.
at line 19
mixed
redirectToAuthorizationUrl(O365ConnectorInterface $o365_connector)
Redirect the user to the correct Microsoft pages for OAuth2.
at line 55
void
saveAuthDataFromUrl()
Save the auth data from the url parameters in the user session storage.
at line 34
setAccessToken(string $code, O365ConnectorInterface $o365_connector, string $redirect = '')
Generate and save the access token.