Udostępnij za pośrednictwem


ApiManagementAuthorizationServerResource.GetSecretsAsync Method

Definition

Gets the client secret details of the authorization server.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to