Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	StoreTokenInSession(w *echo.Response, r *http.Request, userID string, sess *sessions.Session) error
	VerifyPassword(c echo.Context, encryptedPassword string, inputPassword string) error
}

func New

func New(cfg Config, jwtService fbjwt.API) API

type Config

type Config interface {
	JWTSecret() string
}

Source Files

Directories

Path Synopsis
mocks