Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.SecuritySchemes
Description
Contains all supported security schemes defined in the specification
Documentation
data BasicAuthenticationData Source #
Used to pass the authentication information for BasicAuthentication to basicAuthenticationSecurityScheme
.
Constructors
BasicAuthenticationData | |
Instances
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" } }