Udostępnij za pośrednictwem


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to