login

package
v0.0.0-...-5e2de36 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 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 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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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