Partager via


ApiManagementServiceResource.GetSsoTokenAsync(CancellationToken) Méthode

Définition

Obtient le jeton d’authentification unique pour le service Gestion des API qui est valide pendant 5 minutes.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken
  • IdApiManagementService_GetSsoToken d’opération
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))

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à