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: