assets_guardian.core.clients.microsoft_client

Classes

MicrosoftGraph(tenant_id,Β client_id,Β ...)

Microsoft Graph SDK core class

class assets_guardian.core.clients.microsoft_client.MicrosoftGraph(tenant_id: str, client_id: str, client_secret: str, graph_scopes: list[str])[source]

Bases: object

Microsoft Graph SDK core class

async check_requirements() bool[source]

Verifies that the credentials can retrieve the current user or organization.

async get_token() str[source]

Get access token