OAuthBasedDataSourceProperties Class

Definition

The properties that are associated with data sources that use OAuth as their authentication model.

public class OAuthBasedDataSourceProperties
type OAuthBasedDataSourceProperties = class
Public Class OAuthBasedDataSourceProperties
Inheritance
OAuthBasedDataSourceProperties

Constructors

OAuthBasedDataSourceProperties()

Initializes a new instance of the OAuthBasedDataSourceProperties class.

OAuthBasedDataSourceProperties(String, String, String)

Initializes a new instance of the OAuthBasedDataSourceProperties class.

Properties

RefreshToken

Gets or sets a refresh token that can be used to obtain a valid access token that can then be used to authenticate with the data source. A valid refresh token is currently only obtainable via the Azure Portal. It is recommended to put a dummy string value here when creating the data source and then going to the Azure Portal to authenticate the data source which will update this property with a valid refresh token. Required on PUT (CreateOrReplace) requests.

TokenUserDisplayName

Gets or sets the user display name of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.

TokenUserPrincipalName

Gets or sets the user principal name (UPN) of the user that was used to obtain the refresh token. Use this property to help remember which user was used to obtain the refresh token.

Applies to