共用方式為


ApiManagementServiceResource.GetSsoToken(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 Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceGetSsoTokenResult> GetSsoToken (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSsoToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceGetSsoTokenResult>
override this.GetSsoToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.ApiManagementServiceGetSsoTokenResult>
Public Overridable Function GetSsoToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiManagementServiceGetSsoTokenResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to