journey: github.com/twinj/journey/authentication Index | Files

package authentication

import "github.com/twinj/journey/authentication"

Index

Package Files

password.go session.go

func ClearSession Uses

func ClearSession(response http.ResponseWriter)

func EncryptPassword Uses

func EncryptPassword(password string) (string, error)

func GetUserName Uses

func GetUserName(request *http.Request) (userName string)

func LoginIsCorrect Uses

func LoginIsCorrect(name string, password string) bool

func SetSession Uses

func SetSession(userName string, response http.ResponseWriter)

Package authentication imports 4 packages (graph). Updated 2018-03-21. Refresh now. Tools for package owners.