HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleservant-auth-server-0.4.9.0Haskell2010

Servant.Auth.Server.Internal.ConfigTypes

  • 7 types
  • 4 values
datadata IsMatch
#
Instances6Eq, Ord, Read, Show, Generic, Rep
  • Eq IsMatchDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Ord IsMatchDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Read IsMatchDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Show IsMatchDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Generic IsMatchDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • type Rep IsMatch = D1 ('MetaData "IsMatch" "Servant.Auth.Server.Internal.ConfigTypes" "servant-auth-server-0.4.9.0-CzaN2g7P12r5uHKHmTCqeh" 'False) (C1 ('MetaCons "Matches" 'PrefixI 'False) U1 :+: C1 ('MetaCons "DoesNotMatch" 'PrefixI 'False) U1)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
datadata JWTSettings
#

JWTSettings are used to generate cookies, and to verify JWTs.

Constructors

Instances2Generic, Rep
datadata CookieSettings
#

The policies to use when generating cookies.

If *both* cookieMaxAge and cookieExpires are Nothing, browsers will treat the cookie as a *session cookie*. These will be deleted when the browser is closed.

Note that having the setting Secure may cause testing failures if you are not testing over HTTPS.

Constructors

Instances5Eq, Show, Generic, Default, Rep
datadata XsrfCookieSettings
#

The policies to use when generating and verifying XSRF cookies

Constructors

Instances5Eq, Show, Generic, Default, Rep
datadata SameSite
#
Instances6Eq, Ord, Read, Show, Generic, Rep
  • Eq SameSiteDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Ord SameSiteDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Read SameSiteDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Show SameSiteDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • Generic SameSiteDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
  • type Rep SameSite = D1 ('MetaData "SameSite" "Servant.Auth.Server.Internal.ConfigTypes" "servant-auth-server-0.4.9.0-CzaN2g7P12r5uHKHmTCqeh" 'False) (C1 ('MetaCons "AnySite" 'PrefixI 'False) U1 :+: (C1 ('MetaCons "SameSiteStrict" 'PrefixI 'False) U1 :+: C1 ('MetaCons "SameSiteLax" 'PrefixI 'False) U1))Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.ConfigTypes
datadata IsPasswordCorrect
#
Instances6Eq, Ord, Read, Show, Generic, Rep
datadata IsSecure
#

Was this request made over an SSL connection?

Note that this value will not tell you if the client originally made this request over SSL, but rather whether the current connection is SSL. The distinction lies with reverse proxies. In many cases, the client will connect to a load balancer over SSL, but connect to the WAI handler without SSL. In such a case, the handlers would get NotSecure, but from a user perspective, there is a secure connection.

Constructors

  • Secure

    the connection to the server is secure (HTTPS)

  • NotSecure

    the connection to the server is not secure (HTTP)

Instances10Eq, Ord, Read, Show, Generic, HasLink, …