api

http4k / org.http4k.security / OAuthPersistence / assignCsrf

assignCsrf

abstract 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.