Certes
Show / Hide Table of Contents

Interface IAccountContext

Supports ACME account operations.

Inherited Members
IResourceContext<Account>.Location
IResourceContext<Account>.RetryAfter
IResourceContext<Account>.Resource(CancellationToken)
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public interface IAccountContext : IResourceContext<Account>

Methods

| Edit this page View Source

Deactivate(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.

| Edit this page View Source

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.

| Edit this page View Source

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 true to accept the terms of service.

CancellationToken cancellationToken

Cancels this operation.

Returns
Type Description
Task<Account>

The account.

  • Edit this page
  • View Source
© 2018 Certes Project
Back to top