identityprovider

package
v0.0.0-...-c12dc61 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggedin

func GetLoggedin(w http.ResponseWriter, r *http.Request, user string, password string) (*http.Cookie, bool)

GetLoggedin Login the User & give him an identity (Cookie)

func GetLoggedout

func GetLoggedout(w http.ResponseWriter, r *http.Request) bool

GetLoggedout Logout the User and clear session cookie returns true if the process went good otherwise it returns false

func GetRegister

func GetRegister(r *http.Request, user string, password string, email string) bool

GetRegister Register the User (Function takes http request ,user , password and email as input and returns a bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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