Copyright | (c) David Terei 2016 |
---|---|
License | BSD |
Maintainer | code@davidterei.com |
Stability | stable |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Database.Memcache.SASL
Contents
Description
SASL authentication support for Memcached.
Synopsis
- data Authentication
- type Username = ByteString
- type Password = ByteString
- authenticate :: Socket -> Authentication -> IO ()
Types
data Authentication Source #
SASL Authentication information for a server.
Instances
Show Authentication Source # | |
Defined in Database.Memcache.Types Methods showsPrec :: Int -> Authentication -> ShowS # show :: Authentication -> String # showList :: [Authentication] -> ShowS # | |
Eq Authentication Source # | |
Defined in Database.Memcache.Types Methods (==) :: Authentication -> Authentication -> Bool # (/=) :: Authentication -> Authentication -> Bool # |
type Username = ByteString Source #
Username for authentication.
type Password = ByteString Source #
Password for authentication.
Operations
authenticate :: Socket -> Authentication -> IO () Source #
Perform SASL authentication with the server.