auth

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth interface {
	//Authenticate authenticates the given credentials and returns a Session initialized with the user's data
	//if the credentials are valid, or nil if not. If an error occurs it is returned.
	Authenticate(username, password string) (session.Session, error)
}

Auth represents an authentication mechanism

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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