consent/csrf.go
Function createCsrfSession
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func createCsrfSession(w http.ResponseWriter, r *http.Request, conf x.CookieConfigProvider, store sessions.Store, name string, csrfValue string, maxAge time.Duration) error {
Function ValidateCsrfSession
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func ValidateCsrfSession(r *http.Request, conf x.CookieConfigProvider, store sessions.Store, name, expectedCSRF string, f *flow.Flow) error {