password

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthComputer

type AuthComputer struct {
	Times    int
	Salt     string
	User     string
	Password string
}

func (*AuthComputer) Compute

func (inst *AuthComputer) Compute() string

func (*AuthComputer) Init

func (inst *AuthComputer) Init()

type AuthProvider

type AuthProvider struct {
	DAO       common.AuthDAO
	Mechanism string
}

func (*AuthProvider) Authenticate

func (inst *AuthProvider) Authenticate(token auths.AuthenticationToken) (auths.AuthenticationInfo, error)

func (*AuthProvider) Name

func (inst *AuthProvider) Name() string

func (*AuthProvider) Supports

func (inst *AuthProvider) Supports(token auths.AuthenticationToken) bool

Jump to

Keyboard shortcuts

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