| Copyright | (C) 2017-2018 Johann Lee <me@qinka.pro> |
|---|---|
| License | GPL3 |
| Maintainer | me@qinka.pro |
| Stability | experimental |
| Portability | unknown |
| Safe Haskell | None |
| Language | Haskell2010 |
Yu.Auth
Description
The methods about authentication for Yu (using Yesod)
- checkAuth :: Auth site hash => HandlerT site IO AuthResult
- class HashAlgorithm a => Auth site a | site -> a where
- module Yu.Auth.Core
check whether it is authorized
Type Class to limit
class HashAlgorithm a => Auth site a | site -> a where Source #
The class to limit the an application with it hash algorithm and the password of the site.
reexport module
module Yu.Auth.Core