# SourceMicrosoftSharepointAuthenticateViaMicrosoftOAuth

OAuthCredentials class to hold authentication details for Microsoft OAuth authentication.
This class uses pydantic for data validation and settings management.


## Fields

| Field                                                                                                | Type                                                                                                 | Required                                                                                             | Description                                                                                          |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `client_id`                                                                                          | *str*                                                                                                | :heavy_check_mark:                                                                                   | Client ID of your Microsoft developer application                                                    |
| `client_secret`                                                                                      | *str*                                                                                                | :heavy_check_mark:                                                                                   | Client Secret of your Microsoft developer application                                                |
| `tenant_id`                                                                                          | *str*                                                                                                | :heavy_check_mark:                                                                                   | Tenant ID of the Microsoft SharePoint user                                                           |
| `auth_type`                                                                                          | [Optional[models.SourceMicrosoftSharepointAuthType]](../models/sourcemicrosoftsharepointauthtype.md) | :heavy_minus_sign:                                                                                   | N/A                                                                                                  |
| `refresh_token`                                                                                      | *Optional[str]*                                                                                      | :heavy_minus_sign:                                                                                   | Refresh Token of your Microsoft developer application                                                |