Documentation ¶
Index ¶
- type AuthUserInfo
- type Connector
- func (g *Connector) ConfigFields() []plugin.ConfigField
- func (g *Connector) ConfigReceiver(config []byte) error
- func (g *Connector) ConnectorLogoSVG() string
- func (g *Connector) ConnectorName() plugin.Translator
- func (g *Connector) ConnectorReceiver(ctx *plugin.GinContext, receiverURL string) (userInfo plugin.ExternalLoginUserInfo, err error)
- func (g *Connector) ConnectorSender(ctx *plugin.GinContext, receiverURL string) (redirectURL string)
- func (g *Connector) ConnectorSlugName() string
- func (g *Connector) Info() plugin.Info
- type ConnectorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUserInfo ¶
type AuthUserInfo struct { ID string `json:"id"` Sub string `json:"sub"` Name string `json:"name"` GivenName string `json:"given_name"` FamilyName string `json:"family_name"` Profile string `json:"profile"` Picture string `json:"picture"` Email string `json:"email"` EmailVerified bool `json:"email_verified"` Gender string `json:"gender"` }
type Connector ¶
type Connector struct {
Config *ConnectorConfig
}
func (*Connector) ConfigFields ¶
func (g *Connector) ConfigFields() []plugin.ConfigField
func (*Connector) ConfigReceiver ¶
func (*Connector) ConnectorLogoSVG ¶
func (*Connector) ConnectorName ¶
func (g *Connector) ConnectorName() plugin.Translator
func (*Connector) ConnectorReceiver ¶
func (g *Connector) ConnectorReceiver(ctx *plugin.GinContext, receiverURL string) (userInfo plugin.ExternalLoginUserInfo, err error)
func (*Connector) ConnectorSender ¶
func (g *Connector) ConnectorSender(ctx *plugin.GinContext, receiverURL string) (redirectURL string)
func (*Connector) ConnectorSlugName ¶
type ConnectorConfig ¶
Click to show internal directories.
Click to hide internal directories.