createDpopToken

suspend fun createDpopToken(expirySecs: UInt, backendNonce: String): <Error class: unknown class>

Generates a new client Dpop JWT token. It demonstrates proof of possession of the nonces (from wire-server & acme server) and will be verified by the acme server when verifying the challenge (in order to deliver a certificate).

Then send it to POST /clients/{id}/access-token on wire-server.

Parameters

expirySecs

of the client Dpop JWT. This should be equal to the grace period set in Team Management

backendNonce

you get by calling GET /clients/token/nonce on wire-server as defined here {@link https://staging-nginz-https.zinfra.io/api/swagger-ui/#/default/get_clients__client__nonce}