你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IOAuthBasedDataSourceProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.OAuthBasedDataSourcePropertiesTypeConverter))]
public interface IOAuthBasedDataSourceProperties : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview.OAuthBasedDataSourcePropertiesTypeConverter))>]
type IOAuthBasedDataSourceProperties = interface
    interface IJsonSerializable
Public Interface IOAuthBasedDataSourceProperties
Implements IJsonSerializable
Derived
Attributes
Implements

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.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to