Documentation
¶
Index ¶
- func Account(config models.Config, opener handlers.Opener) http.HandlerFunc
- func Auth(args AuthArguments) horror.HandlerFunc
- func AuthWithCodes(args AuthWithCodesArguments) horror.HandlerFunc
- func Devices(config models.Config, opener handlers.Opener) http.HandlerFunc
- func Home(config models.Config, opener handlers.Opener) http.HandlerFunc
- func LoginPage(config models.Config, opener handlers.Opener) http.HandlerFunc
- func Logout(killer session.Killer) http.HandlerFunc
- func Register(config models.Config, opener handlers.Opener) http.HandlerFunc
- func TwoFactor(config models.Config, opener handlers.Opener) http.HandlerFunc
- type AuthArguments
- type AuthWithCodesArguments
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶ added in v0.4.0
func Auth(args AuthArguments) horror.HandlerFunc
Auth authentiates user with given nickanem and password as JSOn document in the payload.
func AuthWithCodes ¶ added in v0.4.0
func AuthWithCodes(args AuthWithCodesArguments) horror.HandlerFunc
AuthWithCodes authenticates given user with one time passwords.
Types ¶
Click to show internal directories.
Click to hide internal directories.