IDnsProviderService
StockSharp.Web.Api.Interfaces
Implementa: IBaseEntityService<DnsProvider>
Métodos
GetSecretAsync
public Task<string> GetSecretAsync(long id, CancellationToken cancellationToken)
result = iDnsProviderService.GetSecretAsync(id, cancellationToken)
Returns the decrypted provider credentials JSON for the renewal service. API-admin only.
SetSecretAsync
public Task SetSecretAsync(long id, string secret, CancellationToken cancellationToken)
result = iDnsProviderService.SetSecretAsync(id, secret, cancellationToken)
Stores the secret credential of a provider encrypted; an empty one clears it. The secret travels only this way: a save of the provider keeps the stored one. Settings editors only.