class ConstantsService

Some constants we use in the code.

Properties

protected ImmutableConfig $apiConfig

The modules API config.

protected ConfigFactoryInterface $configFactory

The config factory interface.

protected Request $request

The request object.

Methods

__construct(ConfigFactoryInterface $configFactory, RequestStack $requestStack)

Constructs a new ConstantsService object.

string
getAuthorizeUrl(O365ConnectorInterface $o365_connector)

Get the authorize url.

string
getRedirectUrl()

Get the redirect URL.

string
getTokenUrl(O365ConnectorInterface $o365_connector)

Get the token url.

string
getUserTempStoreDataName()

Get the user temp store data name.

string
getUserTempStoreName()

Get the user temp store name.

Details

at line 73
__construct(ConfigFactoryInterface $configFactory, RequestStack $requestStack)

Constructs a new ConstantsService object.

Parameters

ConfigFactoryInterface $configFactory

The config factory interface.

RequestStack $requestStack

The request stack object.

at line 98
string getAuthorizeUrl(O365ConnectorInterface $o365_connector)

Get the authorize url.

Parameters

O365ConnectorInterface $o365_connector

The o365 connector.

Return Value

string

The authorize url.

at line 85
string getRedirectUrl()

Get the redirect URL.

Return Value

string

The redirect url.

at line 112
string getTokenUrl(O365ConnectorInterface $o365_connector)

Get the token url.

Parameters

O365ConnectorInterface $o365_connector

The o365 connector.

Return Value

string

The token url.

at line 133
string getUserTempStoreDataName()

Get the user temp store data name.

Return Value

string

The user temp store data name.

at line 123
string getUserTempStoreName()

Get the user temp store name.

Return Value

string

The user temp store name.