mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
16 lines
440 B
Erlang
16 lines
440 B
Erlang
|
|
-record(challenge, {
|
|
type = <<"http-01">> :: bitstring(),
|
|
status = pending :: pending | valid | invalid,
|
|
uri = <<"">> :: bitstring(),
|
|
token = <<"">> :: bitstring()
|
|
}).
|
|
|
|
-type nonce() :: string().
|
|
-type url() :: string().
|
|
-type proplist() :: [{_, _}].
|
|
-type jws() :: map().
|
|
-type handle_resp_fun() :: fun(({ok, proplist(), proplist()}) -> {ok, _, nonce()}).
|
|
|
|
-type acme_challenge() :: #challenge{}.
|