stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.SecuritySchemes

Description

Contains all supported security schemes defined in the specification

Synopsis

Documentation

data BasicAuthenticationSecurityScheme Source #

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
  { _securityScheme =
      BasicAuthenticationSecurityScheme
        { basicAuthenticationSecuritySchemeUsername = "user",
          basicAuthenticationSecuritySchemePassword = "pw"
        }
  }
Instances
Eq BasicAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

Ord BasicAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

Show BasicAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

SecurityScheme BasicAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

data BearerAuthenticationSecurityScheme Source #

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

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

defaultConfiguration
  { _securityScheme = BearerAuthenticationSecurityScheme "token"
  }
Instances
Eq BearerAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

Ord BearerAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

Show BearerAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes

SecurityScheme BearerAuthenticationSecurityScheme Source # 
Instance details

Defined in StripeAPI.SecuritySchemes