InteractiveUserAuthenticator.CanAuthenticate Method
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.
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
- parameters
- AuthenticationParameters
Returns
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
- tokenCache
- IAzureTokenCache
- resourceId
- String