Documentation ¶
Index ¶
- Constants
- func NewAlipayOAuth2Driver(appId string, secret string) oauth2.IOAuth2Driver
- type SAlipayDriverFactory
- func (drv SAlipayDriverFactory) IdpAttributeOptions() api.SIdpAttributeOptions
- func (drv SAlipayDriverFactory) NewDriver(appId string, secret string) oauth2.IOAuth2Driver
- func (drv SAlipayDriverFactory) TemplateName() string
- func (drv SAlipayDriverFactory) ValidateConfig(conf api.SOAuth2IdpConfigOptions) error
- type SAlipayOAuth2Driver
Constants ¶
View Source
const (
AuthUrl = "https://openauth.alipay.com/oauth2/publicAppAuthorize.htm"
)
Variables ¶
This section is empty.
Functions ¶
func NewAlipayOAuth2Driver ¶
func NewAlipayOAuth2Driver(appId string, secret string) oauth2.IOAuth2Driver
Types ¶
type SAlipayDriverFactory ¶
type SAlipayDriverFactory struct{}
func (SAlipayDriverFactory) IdpAttributeOptions ¶
func (drv SAlipayDriverFactory) IdpAttributeOptions() api.SIdpAttributeOptions
func (SAlipayDriverFactory) NewDriver ¶
func (drv SAlipayDriverFactory) NewDriver(appId string, secret string) oauth2.IOAuth2Driver
func (SAlipayDriverFactory) TemplateName ¶
func (drv SAlipayDriverFactory) TemplateName() string
func (SAlipayDriverFactory) ValidateConfig ¶
func (drv SAlipayDriverFactory) ValidateConfig(conf api.SOAuth2IdpConfigOptions) error
type SAlipayOAuth2Driver ¶
type SAlipayOAuth2Driver struct {
oauth2.SOAuth2BaseDriver
}
func (*SAlipayOAuth2Driver) Authenticate ¶
func (*SAlipayOAuth2Driver) GetSsoRedirectUri ¶
Click to show internal directories.
Click to hide internal directories.