ApiManagementServiceResource.GetSsoTokenAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.