MAPI service Authority
To get Authority service use:
Bases: MAPIService
Authority MAPI service allows to get Authority info. Use the authority server to get authentification token that has to used in each web requests.
Source code in restmapi\restmapi\services.py
__init__(url)
DO NOT create AuthorityServiceServiceServiceProxy by yourself. Always use MAPIServices.get_service("Authority") method to create it.
Parameters:
-
url(string) –Base URL to create of the REST service.
Source code in restmapi\restmapi\services.py
info()
returns authority info struct: * authMode: None or Flexlab or AzureAd * url: if authMode is Flexlab, url contains Flexlab server URL used for authentication. * clientId/tenantId: if authMode is AzureAd, clientId and tenantId define azure connection properties.