assets_guardian.plugins.microsoft365.clientο
Classes
|
Client provider for Microsoft 365 via Microsoft Graph. |
- class assets_guardian.plugins.microsoft365.client.Microsoft365ClientProvider(config: dict[str, Any])[source]ο
Bases:
IClientProviderClient provider for Microsoft 365 via Microsoft Graph.
Initialize the client provider with the instanceβs configuration dictionary.
- health_check() bool[source]ο
Verifies that the client connection, return True if the remote service is reachable and credentials are valid, else False.
- instantiate_client() MicrosoftGraph[source]ο
Returns a ready-to-use client.
The return type depends on the specific implementation (e.g., GraphServiceClient, requests Session, GitLab client, etc.).