service

package
v0.0.0-...-c7413e9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginService

type LoginService interface {
	AuthenticateCredentials(username string, rawPassword string, mfaToken string) (accessToken string, refreshToken string, err error)
}

type TokenService

type TokenService interface {
	Verify(rawToken string) (userClaims *model.UserClaims, err error)
	Generate(user *model.User) (string, error)
}

func NewTokenService

func NewTokenService() TokenService

Jump to

Keyboard shortcuts

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