identityprovider

package
v0.0.0-...-17ddb13 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 4 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) (bool, error)

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