HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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"
        }
  }