Interface ICredentialsClient
- Namespace
- Auth0.ManagementApi.Clients
- Assembly
- Auth0.ManagementApi.dll
public interface ICredentialsClient
- Extension Methods
Methods
CreateAsync(string, PostClientCredentialRequestContent, RequestOptions?, CancellationToken)
WithRawResponseTask<PostClientCredentialResponseContent> CreateAsync(string clientId, PostClientCredentialRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
clientIdstringrequestPostClientCredentialRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, string, RequestOptions?, CancellationToken)
Delete a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow.
Task DeleteAsync(string clientId, string credentialId, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
clientIdstringcredentialIdstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
GetAsync(string, string, RequestOptions?, CancellationToken)
Get the details of a client credential.
Important: To enable credentials to be used for a client authentication method, set the client_authentication_methods property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the signed_request_object property on the client.
WithRawResponseTask<GetClientCredentialResponseContent> GetAsync(string clientId, string credentialId, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
clientIdstringcredentialIdstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(string, RequestOptions?, CancellationToken)
Get the details of a client credential.
Important: To enable credentials to be used for a client authentication method, set the client_authentication_methods property on the client. To enable credentials to be used for JWT-Secured Authorization requests set the signed_request_object property on the client.
WithRawResponseTask<IEnumerable<ClientCredential>> ListAsync(string clientId, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
clientIdstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
UpdateAsync(string, string, PatchClientCredentialRequestContent, RequestOptions?, CancellationToken)
Change a client credential you previously created. May be enabled or disabled. For more information, read Client Credential Flow.
WithRawResponseTask<PatchClientCredentialResponseContent> UpdateAsync(string clientId, string credentialId, PatchClientCredentialRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
clientIdstringcredentialIdstringrequestPatchClientCredentialRequestContentoptionsRequestOptionscancellationTokenCancellationToken