recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.SecuritySchemes

Description

Contains all supported security schemes defined in the specification

Synopsis

Documentation

basicAuthenticationSecurityScheme :: BasicAuthenticationData -> SecurityScheme Source #

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

Enter the API key as the username and set the password to an empty string. You can locate and manage your API keys from the API Credentials page.

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