Interface IAccountContext
Supports ACME account operations.
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public interface IAccountContext : IResourceContext<Account>
Methods
| Edit this page View SourceDeactivate(CancellationToken)
Deactivates the current account.
Declaration
Task<Account> Deactivate(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<Account> | The account deactivated. |
Orders(CancellationToken)
Gets the orders
Declaration
Task<IOrderListContext> Orders(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<IOrderListContext> | The orders. |
Update(IList<string>, bool, CancellationToken)
Updates the current account.
Declaration
Task<Account> Update(IList<string> contact = null, bool agreeTermsOfService = false, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IList<string> | contact | The contact infomation. |
| bool | agreeTermsOfService | Set to |
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<Account> | The account. |