OAuthBasedDataSourceProperties interface

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

Properties

refreshToken

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

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

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.

Property Details

refreshToken

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.

refreshToken?: string

Property Value

string

tokenUserDisplayName

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.

tokenUserDisplayName?: string

Property Value

string

tokenUserPrincipalName

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.

tokenUserPrincipalName?: string

Property Value

string