你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AdalTokenProvider.GetAccessToken Method

Definition

public Microsoft.Azure.Commands.Common.Authentication.IAccessToken GetAccessToken (Microsoft.Azure.Commands.Common.Authentication.AdalConfiguration config, string promptBehavior, Action<string> promptAction, string userId, System.Security.SecureString password, string credentialType);
abstract member GetAccessToken : Microsoft.Azure.Commands.Common.Authentication.AdalConfiguration * string * Action<string> * string * System.Security.SecureString * string -> Microsoft.Azure.Commands.Common.Authentication.IAccessToken
override this.GetAccessToken : Microsoft.Azure.Commands.Common.Authentication.AdalConfiguration * string * Action<string> * string * System.Security.SecureString * string -> Microsoft.Azure.Commands.Common.Authentication.IAccessToken
Public Function GetAccessToken (config As AdalConfiguration, promptBehavior As String, promptAction As Action(Of String), userId As String, password As SecureString, credentialType As String) As IAccessToken

Parameters

promptBehavior
String
promptAction
Action<String>
userId
String
password
SecureString
credentialType
String

Returns

Implements

Applies to