Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTToken ¶
type JWTToken struct {
// contains filtered or unexported fields
}
JWTToken is authentication token provider/validator using JWT
func NewJWTToken ¶
NewJWTToken creates new JWTToken instance initialized from keys on disk
type Password ¶
type Password struct { // SaltBytes is salt length in bytes SaltBytes int // HashBytes is password hash length in bytes HashBytes int // contains filtered or unexported fields }
Password contains methods for manipulating with passwords.
func NewPassword ¶
func NewPassword() *Password
NewPassword returns new Password struct with default values.
Click to show internal directories.
Click to hide internal directories.