Documentation ¶
Index ¶
- Constants
- Variables
- func BeginAuthHandler(prv *Provider, w http.ResponseWriter, r *http.Request, websess util.ValueMap, ...) (string, error)
- func CompleteUserAuth(prv *Provider, w http.ResponseWriter, r *http.Request, websess util.ValueMap, ...) (string, *user.Account, user.Accounts, error)
- func GothURL(key string, proto string, host string, redirPathOverride ...string) string
- func Logout(w http.ResponseWriter, r *http.Request, websess util.ValueMap, ...) error
- func ProviderUsage(id string, enabled bool) string
- type Provider
- type Providers
- type Service
Constants ¶
View Source
const (
OpenIDConnectKey = "openid_connect"
)
View Source
const WebAuthKey = "auth"
Variables ¶
View Source
var ( AvailableProviderNames map[string]string AvailableProviderKeys []string )
Functions ¶
func BeginAuthHandler ¶
func CompleteUserAuth ¶
func ProviderUsage ¶
Types ¶
type Provider ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.