ExAcme.Account (ExAcme v0.1.0)
View SourceRepresents an ACME Account object.
Provides functionalities to fetch account details from the ACME server.
Attributes
url
- The URL of the account.status
- The current status of the account.contact_urls
- List of contact URLs.terms_of_service_agreed
- Boolean indicating agreement to terms of service.external_account_binding
- External account binding information.orders_url
- URL to fetch the list of orders.
Summary
Functions
Fetches an account from the ACME server.
Types
Functions
@spec fetch(String.t(), ExAcme.AccountKey.t(), ExAcme.client()) :: {:ok, t()} | {:error, term()}
Fetches an account from the ACME server.
Parameters
url
- The account URL.account_key
- The account key for authentication.client
- The ExAcme client agent.
Returns
{:ok, account}
on success.{:error, reason}
on failure.