http4k / org.http4k.security / InsecureCookieBasedOAuthPersistence / assignCsrf
fun assignCsrf(redirect:
Response
, csrf:
CrossSiteRequestForgeryToken
):
Response
Assign a CSRF token to this OAuth auth redirection (to the end-service) response. Opportunity here to modify the response returned to the user when the redirection happens.