authenticator

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleAuthenticator

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

func NewSimpleAuthenticator

func NewSimpleAuthenticator() *SimpleAuthenticator

func (*SimpleAuthenticator) GetAuthenticationMode

func (a *SimpleAuthenticator) GetAuthenticationMode() interfaces.AuthMode

func (*SimpleAuthenticator) IsAuthenticated

func (a *SimpleAuthenticator) IsAuthenticated(user string, password string) bool

func (*SimpleAuthenticator) SetCredentials

func (a *SimpleAuthenticator) SetCredentials(username string, password string)

Jump to

Keyboard shortcuts

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