Snap.Snaplet.Auth

# Higher Level Handler Functions

createUser

usernameExists

saveUser

destroyUser

loginByUsername

loginByRememberToken

forceLogin

logout

currentUser

isLoggedIn

# Lower Level Functions

markAuthSuccess

markAuthFail

checkPasswordAndLogin

# Types

data AuthManager b

class IAuthBackend r

data AuthSettings

defAuthSettings

data AuthUser

defAuthUser

data UserId

data Password

data AuthFailure

data BackendError

data Role

# Other Utilities

authSettingsFromConfig

withBackend

encryptPassword

checkPassword

authenticatePassword

setPassword

encrypt

verify

# Handlers

registerUser

loginUser

logoutUser

requireUser

# Splice helpers

addAuthSplices

ifLoggedIn

ifLoggedOut

loggedInUser