Skip to main content

find_challenge

Function find_challenge 

Source
pub async fn find_challenge(
    pool: &PgPool,
    token: &str,
) -> ProxyResult<Option<AcmeChallengeResponse>>
Expand description

Look up a pending HTTP-01 challenge response by token.

Free function rather than a method because the endpoint that serves challenges has a pool but no reason to hold an issuer.