Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternal = errors.New("internal error") ErrWrongCredentials = errors.New("wrong credentials") ErrUserAlreadyExists = errors.New("user already exists") ErrInvalidUserName = errors.New("invalid username") ErrExpiredSession = errors.New("session is expired") ErrSessionNotFound = errors.New("not signed in") )
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) ValidateSession ¶
Click to show internal directories.
Click to hide internal directories.