package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Aug 10, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewCredentialHandler new instance of CredentialHandler using in house authentication
type LoginInfo struct {
Email string `json:"email"`
Password string `json:"password"`
}
LoginInfo JSON body to request login
type RegisterInfo struct {
Email string `json:"email"`
Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"`
Claims map[string]interface{} `json:"claims"`
}
RegisterInfo JSON body to request register
Source Files
¶
Click to show internal directories.
Click to hide internal directories.