dpopNonce

fun OAuth2Error?.dpopNonce(response: HttpResponse): String?(source)

Extracts the header DPoP-Nonce if the server asked for it with use_dpop_nonce.


Deprecated

Use the header-based function from vck-openid, which does not depend on a ktor client

Replace with

import at.asitplus.wallet.lib.oauth2.dpopNonce
oauth2Error.dpopNonce(headers)

Extracts the header DPoP-Nonce if the server asked for it with use_dpop_nonce.