InteractiveUserAuthenticator.CanAuthenticate Method

Definition

Overloads

CanAuthenticate(AuthenticationParameters)
CanAuthenticate(IAzureAccount, IAzureEnvironment, String, SecureString, String, Task<Action<String>>, IAzureTokenCache, String)

CanAuthenticate(AuthenticationParameters)

public override bool CanAuthenticate (Microsoft.Azure.Commands.Common.Authentication.AuthenticationParameters parameters);
override this.CanAuthenticate : Microsoft.Azure.Commands.Common.Authentication.AuthenticationParameters -> bool
Public Overrides Function CanAuthenticate (parameters As AuthenticationParameters) As Boolean

Parameters

Returns

Boolean

Applies to

CanAuthenticate(IAzureAccount, IAzureEnvironment, String, SecureString, String, Task<Action<String>>, IAzureTokenCache, String)

public override bool CanAuthenticate (Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount account, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, string tenant, System.Security.SecureString password, string promptBehavior, System.Threading.Tasks.Task<Action<string>> promptAction, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache tokenCache, string resourceId);
abstract member CanAuthenticate : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string * System.Security.SecureString * string * System.Threading.Tasks.Task<Action<string>> * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * string -> bool
override this.CanAuthenticate : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureAccount * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string * System.Security.SecureString * string * System.Threading.Tasks.Task<Action<string>> * Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache * string -> bool
Public Overrides Function CanAuthenticate (account As IAzureAccount, environment As IAzureEnvironment, tenant As String, password As SecureString, promptBehavior As String, promptAction As Task(Of Action(Of String)), tokenCache As IAzureTokenCache, resourceId As String) As Boolean

Parameters

account
IAzureAccount
environment
IAzureEnvironment
tenant
String
password
SecureString
promptBehavior
String
promptAction
Task<Action<String>>
tokenCache
IAzureTokenCache
resourceId
String

Returns

Boolean

Applies to