共用方式為


DefaultAzureCredentialOptions.SharedTokenCacheUsername Property

Definition

Specifies the preferred authentication account to be retrieved from the shared token cache for single sign on authentication with development tools. In the case multiple accounts are found in the shared token.

public string SharedTokenCacheUsername { get; set; }
member this.SharedTokenCacheUsername : string with get, set
Public Property SharedTokenCacheUsername As String

Property Value

Remarks

If multiple accounts are found in the shared token cache and no value is specified, or the specified value matches no accounts in the cache the SharedTokenCacheCredential will not be used for authentication.

Applies to