ExAcme.Authorization (ExAcme v0.2.0)
View SourceRepresents an ACME Authorization object.
Provides functionalities to fetch and process authorization details from the ACME server.
Attributes
url
- The URL of the authorization.status
- The current status of the authorization.expires
- Expiration datetime of the authorization.identifier
- The identifier (e.g., domain) associated with the authorization.challenges
- List of challenges available for the authorization.wildcard
- Boolean indicating if the authorization is for a wildcard domain.
Summary
Functions
Fetches an authorization from the ACME server.
Types
Functions
@spec fetch(String.t(), ExAcme.AccountKey.t(), ExAcme.client()) :: {:ok, t()} | {:error, term()}
Fetches an authorization from the ACME server.
Parameters
url
- The authorization URL.account_key
- The account key for authentication.client
- The ExAcme client agent.
Returns
{:ok, authorization}
on success.{:error, reason}
on failure.