Share via


AzureEnvironmentExtensions.GetTokenAudience(IAzureEnvironment, String) Method

Definition

public static string GetTokenAudience (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment environment, string targetEndpoint);
static member GetTokenAudience : Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureEnvironment * string -> string
<Extension()>
Public Function GetTokenAudience (environment As IAzureEnvironment, targetEndpoint As String) As String

Parameters

environment
IAzureEnvironment
targetEndpoint
String

Returns

Applies to