SDK context.
The Azure AD application client ID.
The local port used for the authentication redirect.
Optional
resource(Optional) A SharePoint resource URL to navigate to before authentication.
The authentication scopes required for access.
The Azure AD tenant ID.
A promise that resolves to an authenticated SharePoint client instance.
Authenticates a user with SharePoint using MSAL and Puppeteer and returns a SharePoint Graph API client.