server

package
v0.0.0-...-941b1c8 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instances

type Instances struct {
	UserManager            bizuserinters.UserManager
	UserTokenManager       usertokenmanagerinters.UserTokenManager
	UserPassAuthenticator  userpass.Authenticator
	Google2FAAuthenticator google2fa.Authenticator
	AdminAuthenticator     admin.Authenticator
}

func NewInstances

func NewInstances(tokenManagerAll bizuserinters.TokenManagerAll, jwtDataStorage usertokenmanagerinters.JWTDataStorage,
	dbModel authenticatorinters.DBModel, cfg *config.Config) *Instances

Jump to

Keyboard shortcuts

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