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