HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.SecuritySchemes

Contains all supported security schemes defined in the specification

  • 1 type
  • 2 values
  • Packagestripeapi-3.0.0.0
  • Exports3
  • LanguageHaskell2010
  • LicenceMIT
  • SourceSecuritySchemes.hs

Used to pass the authentication information for BasicAuthentication to basicAuthenticationSecurityScheme.

Instances3Eq, Ord, Show

Use this security scheme to use basic authentication for a request. Should be used in a Configuration.

Basic HTTP authentication. Allowed headers-- Authorization: Basic <api_key> | Authorization: Basic <base64 hash of `api_key:`>

defaultConfiguration
  { configSecurityScheme =
      basicAuthenticationSecurityScheme BasicAuthenticationData
        { basicAuthenticationDataUsername = "user",
          basicAuthenticationDataPassword = "pw"
        }
  }