你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AuthenticationParameters Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public AuthenticationParameters (Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider tokenCacheProvider, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache tokenCache, string tenantId, string resourceId, bool? sendCertificateChain = default);
new Microsoft.Azure.Commands.Common.Authentication.AuthenticationParameters : Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * string * string * Nullable<bool> -> Microsoft.Azure.Commands.Common.Authentication.AuthenticationParameters
Public Sub New (tokenCacheProvider As PowerShellTokenCacheProvider, environment As IAzureEnvironment, tokenCache As IAzureTokenCache, tenantId As String, resourceId As String, Optional sendCertificateChain As Nullable(Of Boolean) = Nothing)
Parameters
- tokenCacheProvider
- PowerShellTokenCacheProvider
- environment
- IAzureEnvironment
- tokenCache
- IAzureTokenCache
- tenantId
- String
- resourceId
- String