Sharepoint¶
flowtask.hooks.types.sharepoint
¶
SharePointTrigger
¶
SharePointTrigger(*args, webhook_url, tenant_id=None, client_id=None, client_secret=None, resource=None, **kwargs)
Bases: HTTPHook
authenticate
async
¶
Authenticates the client with Azure AD and initializes the Graph client.
This method creates a ClientSecretCredential using the tenant ID, client ID, and client secret. It then sets up an AzureIdentityAuthenticationProvider, initializes a GraphRequestAdapter, and finally creates a GraphServiceClient.
The method doesn't take any parameters as it uses the instance variables for authentication details.
Returns:
| Type | Description |
|---|---|
|
None |