Share via


OAuthBasedDataSourceProperties Constructors

Definition

Overloads

OAuthBasedDataSourceProperties()

Initializes a new instance of the OAuthBasedDataSourceProperties class.

OAuthBasedDataSourceProperties(String, String, String)

Initializes a new instance of the OAuthBasedDataSourceProperties class.

OAuthBasedDataSourceProperties()

Initializes a new instance of the OAuthBasedDataSourceProperties class.

public OAuthBasedDataSourceProperties ();
Public Sub New ()

Applies to

OAuthBasedDataSourceProperties(String, String, String)

Initializes a new instance of the OAuthBasedDataSourceProperties class.

public OAuthBasedDataSourceProperties (string refreshToken = default, string tokenUserPrincipalName = default, string tokenUserDisplayName = default);
new Microsoft.Azure.Management.StreamAnalytics.Models.OAuthBasedDataSourceProperties : string * string * string -> Microsoft.Azure.Management.StreamAnalytics.Models.OAuthBasedDataSourceProperties
Public Sub New (Optional refreshToken As String = Nothing, Optional tokenUserPrincipalName As String = Nothing, Optional tokenUserDisplayName As String = Nothing)

Parameters

refreshToken
String

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.

tokenUserPrincipalName
String

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.

tokenUserDisplayName
String

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.

Applies to