openid

package
v0.0.0-...-baf4ea5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package openid partially implements the OpenID 2.0 specification for the Relying Party (RP) in Stateless Mode

Index

Constants

View Source
const (
	ProviderNUS = "nus"
)

Variables

This section is empty.

Functions

func AddConstProvider

func AddConstProvider(funcs template.FuncMap) template.FuncMap

func Authenticate

func Authenticate(provider string, errorHandler func(http.ResponseWriter, *http.Request, error)) func(http.Handler) http.Handler

func IsValidProvider

func IsValidProvider(provider string) bool

func Redirect

func Redirect(provider, returnTo string, errorHandler func(http.ResponseWriter, *http.Request, error)) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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