Versions in this module Expand all Collapse all v1 v1.0.0 Jul 6, 2019 Changes in this version + type Config struct + Audience string + ExpireIn time.Duration + Issuer string + MiddlewareType MiddlewareType + SessionName string + Signer jwt.Signer + Subject string + func New(sessionName string, middlewareType MiddlewareType, signer jwt.Signer, ...) (*Config, error) + type CookieConfig struct + Domain string + HTTPOnly bool + Path string + SameSite http.SameSite + Secure bool + type MiddlewareType int + const Cookie + const Header