共用方式為


ApiManagementServiceResource.GetSsoTokenAsync(CancellationToken) Method

Definition

Gets the Single-Sign-On token for the API Management Service which is valid for 5 Minutes.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken
  • Operation Id: ApiManagementService_GetSsoToken
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementServiceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceGetSsoTokenResult>> GetSsoTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSsoTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceGetSsoTokenResult>>
override this.GetSsoTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceGetSsoTokenResult>>
Public Overridable Function GetSsoTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementServiceGetSsoTokenResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to