applyAuthnForToken
suspend fun applyAuthnForToken(resourceUrl: String, httpMethod: HttpMethod, useDpop: Boolean): HttpRequestBuilder.() -> Unit(source)
Sets the appropriate headers when accessing a token endpoint:
loads client attestation when loadInstanceAttestation and loadInstanceAttestationPop is set
sends a DPoP proof when useDpop is set