Dela via


RMProfileClient.AcquireAccessToken(String, Action<String>) Method

Definition

public Microsoft.Azure.Commands.Common.Authentication.IAccessToken AcquireAccessToken (string tenantId, Action<string> promptAction = default);
member this.AcquireAccessToken : string * Action<string> -> Microsoft.Azure.Commands.Common.Authentication.IAccessToken
Public Function AcquireAccessToken (tenantId As String, Optional promptAction As Action(Of String) = Nothing) As IAccessToken

Parameters

tenantId
String
promptAction
Action<String>

Returns

Applies to