openid

package
v0.0.0-...-e36e409 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Providers = map[string]OpenIdProvider{
	wechatOpenIdProvider.Name: wechatOpenIdProvider,
}

Functions

func Get

func Get(provider, token string) (string, error)

Types

type OpenIdProvider

type OpenIdProvider struct {
	Name string
	Auth func(string) (string, error)
}

Jump to

Keyboard shortcuts

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