Microsoft Graph connectors SDK connector OAuth API

The Microsoft Graph connectors SDK contracts connector OAuth API is used for OAuth flows such as refreshing access tokens during crawls.

Connector OAuth APIs

This API is used to generate a refreshed token from the auth server of the data source and send the token details to the platform.

Method Parameters Return Type Description
RefreshAccessToken RefreshAccessTokenRequest RefreshAccessTokenResponse Shows the refreshed access token.

Connector OAuth API models

RefreshAccessTokenRequest

Request model for refreshing the OAuth token.

Property Type Description
authenticationData AuthenticationData Holds the data source access URL, the credentials to access the data source, and current token information.

RefreshAccessTokenResponse

Response model for the refresh OAuth token request.

Property Type Description
status OperationStatus Shows the status of the operation and details such as error messages.
refreshedCredentialData OAuth2ClientCredentialsResponse Holds the refreshed token information.