Files
token-go/config/cookie.go

20 lines
284 B
Go

package config
type CookieConfig struct {
Domain string
Path string
Secure bool
HttpOnly bool
SameSite string
}
func DefaultCookieConfig() *CookieConfig {
return &CookieConfig{
Domain: "",
Path: "",
Secure: false,
HttpOnly: false,
SameSite: "",
}
}