Documentation ¶
Index ¶
Constants ¶
View Source
const (
OAuth2TypeDefault = "oauth2"
)
Variables ¶
View Source
var ( OAuth2Infos = make(map[string]*OAuth2Info) OAutherMap = make(map[string]OAuther) )
Functions ¶
func NewOAuth2Service ¶
func NewOAuth2Service()
Types ¶
type BasicUserInfo ¶
type OAuth2Default ¶ added in v1.1.0
func (*OAuth2Default) UserInfo ¶ added in v1.1.0
func (o *OAuth2Default) UserInfo(token string) (*BasicUserInfo, error)
type OAuth2Info ¶
Click to show internal directories.
Click to hide internal directories.