auth

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BcryptPrefix = "$2a$"

Variables

This section is empty.

Functions

This section is empty.

Types

type Plain

type Plain struct {
	Username string
	Password string
}

func (*Plain) Check

func (p *Plain) Check(c server.ClientAuth) bool

type Token

type Token struct {
	Token string
}

func (*Token) Check

func (p *Token) Check(c server.ClientAuth) bool

Jump to

Keyboard shortcuts

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