O365OAuth2Client
extends Oauth2ClientPluginBase
in package
OAuth2 Client to authenticate with Microsoft 365.
Tags
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
$helperService
The o365 helper service.
protected
HelperService
$helperService
Methods
clearAccessToken()
{@inheritdoc}
public
clearAccessToken() : void
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
stringgetClientSecret()
{@inheritdoc}
public
getClientSecret() : string
Return values
stringgetCredentialProvider()
{@inheritdoc}
public
getCredentialProvider() : string|null
Return values
string|nullretrieveAccessToken()
{@inheritdoc}
public
retrieveAccessToken() : AccessTokenInterface|null
Return values
AccessTokenInterface|nullstoreAccessToken()
{@inheritdoc}
public
storeAccessToken(AccessTokenInterface $accessToken) : void
Parameters
- $accessToken : AccessTokenInterface