oauth2-proxy/oauth2-proxy

View on GitHub
pkg/cookies/cookies.go

Summary

Maintainability
A
45 mins
Test Coverage
D
64%

Function MakeCookieFromOptions has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func MakeCookieFromOptions(req *http.Request, name string, value string, opts *options.Cookie, expiration time.Duration, now time.Time) *http.Cookie {
Severity: Minor
Found in pkg/cookies/cookies.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status