Microsoft 365 Connector

O365OAuth2Client extends Oauth2ClientPluginBase
in package

OAuth2 Client to authenticate with Microsoft 365.

Tags
Oauth2Client

( id = "o365", name = @Translation("Microsoft 365"), grant_type = "client_credentials", client_id = "", client_secret = "", authorization_uri = "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", token_uri = "https://login.microsoftonline.com/common/oauth2/v2.0/token", resource_owner_uri = "", credential_provider = "o365_sso", storage_key = "", )

Table of Contents

Properties

$helperService  : HelperService
The o365 helper service.

Methods

clearAccessToken()  : void
{@inheritdoc}
create()  : mixed
{@inheritdoc}
getClientId()  : string
{@inheritdoc}
getClientSecret()  : string
{@inheritdoc}
getCredentialProvider()  : string|null
{@inheritdoc}
retrieveAccessToken()  : AccessTokenInterface|null
{@inheritdoc}
storeAccessToken()  : void
{@inheritdoc}

Properties

Methods

create()

{@inheritdoc}

public static create(ContainerInterface $container, array<string|int, mixed> $configuration, mixed $plugin_id, mixed $plugin_definition) : mixed
Parameters
$container : ContainerInterface
$configuration : array<string|int, mixed>
$plugin_id : mixed
$plugin_definition : mixed

getClientId()

{@inheritdoc}

public getClientId() : string
Return values
string

getClientSecret()

{@inheritdoc}

public getClientSecret() : string
Return values
string

getCredentialProvider()

{@inheritdoc}

public getCredentialProvider() : string|null
Return values
string|null

retrieveAccessToken()

{@inheritdoc}

public retrieveAccessToken() : AccessTokenInterface|null
Return values
AccessTokenInterface|null

storeAccessToken()

{@inheritdoc}

public storeAccessToken(AccessTokenInterface $accessToken) : void
Parameters
$accessToken : AccessTokenInterface
Loading…
On this page

Search results