Share via


DeviceCodeParameters Constructor

Definition

public DeviceCodeParameters (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, string userId, string homeAccountId);
new Microsoft.Azure.Commands.Common.Authentication.DeviceCodeParameters : Microsoft.Azure.Commands.Common.Authentication.PowerShellTokenCacheProvider * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * string * string * string * string -> Microsoft.Azure.Commands.Common.Authentication.DeviceCodeParameters
Public Sub New (tokenCacheProvider As PowerShellTokenCacheProvider, environment As IAzureEnvironment, tokenCache As IAzureTokenCache, tenantId As String, resourceId As String, userId As String, homeAccountId As String)

Parameters

tokenCacheProvider
PowerShellTokenCacheProvider
environment
IAzureEnvironment
tokenCache
IAzureTokenCache
tenantId
String
resourceId
String
userId
String
homeAccountId
String

Applies to