authn

package
v0.0.0-...-08bf4ff Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPassword

func HashPassword(password string) string

HashPassword creates a valid base64 encoded hash for the given password

Types

type PwdProvider

type PwdProvider struct{}

PwdProvider creates a placeholder for the Provider interface implementation

func (*PwdProvider) Authenticate

func (p *PwdProvider) Authenticate(user string, challenge string) bool

Authenticate implements the Provider interface authenticating a user against a password file. None of this is intended for prodcution use.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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