attestationChallenge

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

Extracts the header OAuth-Client-Attestation-Challenge if the error is use_attestation_challenge.


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.attestationChallenge
oauth2Error.attestationChallenge(headers)

Extracts the header OAuth-Client-Attestation-Challenge if the error is use_attestation_challenge.