authn

package
v0.3.0-alpha.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL