memory

package
v0.0.0-...-cf2deb9 Latest Latest
Warning

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

Go to latest
Published: May 13, 2016 License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns an AuthenticationControler that stores users in memory. This controller is for testing purposes.

Types

type Options

type Options struct {
	Users         []*User
	Authenticator *lib.Authenticator
}

Options holds the configuration parameters used by the MemoryAuthenticationController.

type User

type User struct {
	*entities.User
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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