Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthN ¶
type AuthN struct {
// contains filtered or unexported fields
}
func NewAuthN ¶
func NewAuthN(config *server.ServerConfig) *AuthN
func (*AuthN) Middleware ¶
func (a *AuthN) Middleware(r *middleware.RouteInfo) echo.HandlerFunc
type SessionHelpers ¶
type SessionHelpers struct {
// contains filtered or unexported fields
}
func NewSessionHelpers ¶
func NewSessionHelpers(config *server.ServerConfig) *SessionHelpers
func (*SessionHelpers) SaveAuthenticated ¶
func (s *SessionHelpers) SaveAuthenticated(c echo.Context, user *db.UserModel) error
func (*SessionHelpers) SaveUnauthenticated ¶
func (s *SessionHelpers) SaveUnauthenticated(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.