Delen via


ApiManagementOpenIdConnectProviderResource.GetSecretsAsync Method

Definition

Gets the client secret details of the OpenID Connect Provider.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to