Interface ISecretsClient
- Namespace
- Auth0.ManagementApi.Hooks
- Assembly
- Auth0.ManagementApi.dll
public interface ISecretsClient
- Extension Methods
Methods
CreateAsync(string, Dictionary<string, string>, RequestOptions?, CancellationToken)
Add one or more secrets to an existing hook. Accepts an object of key-value pairs, where the key is the name of the secret. A hook can have a maximum of 20 secrets.
Task CreateAsync(string id, Dictionary<string, string> request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestDictionary<string, string>optionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, IEnumerable<string>, RequestOptions?, CancellationToken)
Delete one or more existing secrets for a given hook. Accepts an array of secret names to delete.
Task DeleteAsync(string id, IEnumerable<string> request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestIEnumerable<string>optionsRequestOptionscancellationTokenCancellationToken
Returns
GetAsync(string, RequestOptions?, CancellationToken)
Retrieve a hook's secrets by the ID of the hook.
WithRawResponseTask<Dictionary<string, string>> GetAsync(string id, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringoptionsRequestOptionscancellationTokenCancellationToken
Returns
UpdateAsync(string, Dictionary<string, string>, RequestOptions?, CancellationToken)
Update one or more existing secrets for an existing hook. Accepts an object of key-value pairs, where the key is the name of the existing secret.
Task UpdateAsync(string id, Dictionary<string, string> request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
idstringrequestDictionary<string, string>optionsRequestOptionscancellationTokenCancellationToken