repository

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type JSONAuthenticationRepository deprecated

type JSONAuthenticationRepository struct {
	// contains filtered or unexported fields
}

Deprecated: use mongo one instead

func (*JSONAuthenticationRepository) AddUser

func (jar *JSONAuthenticationRepository) AddUser(username, password string) (authentication.User, error)

func (*JSONAuthenticationRepository) Authenticate

func (jar *JSONAuthenticationRepository) Authenticate(username string, password string) (string, error)

func (*JSONAuthenticationRepository) DeleteUser

func (jar *JSONAuthenticationRepository) DeleteUser(userID string) error

func (*JSONAuthenticationRepository) GetUser

func (jar *JSONAuthenticationRepository) GetUser(username string) (authentication.User, bool)

func (*JSONAuthenticationRepository) RepoImplName

func (jar *JSONAuthenticationRepository) RepoImplName() scene.ImplName

func (*JSONAuthenticationRepository) Status

func (jar *JSONAuthenticationRepository) Status() error

func (*JSONAuthenticationRepository) UpdateUser

func (jar *JSONAuthenticationRepository) UpdateUser(user authentication.User) error

Jump to

Keyboard shortcuts

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