Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts *Options) authenticationcontroller.AuthenticationController
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.
Click to show internal directories.
Click to hide internal directories.