Module

Node.Express.Passport.Strategy.Local

Package
purescript-express-passport
Repository
aykl/purescript-express-passport

#PassportStrategyLocalOptions Source

type PassportStrategyLocalOptions = { passwordField :: String, usernameField :: String }

#Username Source

#Password Source

#CredentialsVerified Source

type CredentialsVerified user info eff = Maybe Error -> Maybe user -> Maybe info -> Eff eff Unit

#PassportVerify Source

type PassportVerify user info eff = Request -> Username -> Password -> CredentialsVerified user info eff -> Eff eff Unit

#passportStrategyLocal Source

#passportStrategyLocal' Source

passportStrategyLocal' :: forall user info eff. PassportVerify user info eff -> PassportStrategy