consent/helper_test.go
Function TestValidateCsrfSession
has 178 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestValidateCsrfSession(t *testing.T) {
const name = "oauth2_authentication_csrf"
type cookie struct {
name string
Function TestCreateCsrfSession
has 138 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func TestCreateCsrfSession(t *testing.T) {
type cookie struct {
httpOnly bool
secure bool
domain string