Documentation ¶
Index ¶
- Variables
- func OauthConfig(providers config.OauthConfig, service Service, platform Platform) (*oauth2.Config, error)
- type Platform
- type Service
- type User
- func GithubOauth(providers config.OauthConfig, code string, service Service, platform Platform) (*User, error)
- func GoogleOauth(providers config.OauthConfig, code string, service Service, platform Platform) (*User, error)
- func VKOauth(providers config.OauthConfig, code string, service Service, platform Platform) (*User, error)
- func YandexOauth(providers config.OauthConfig, code string, service Service, platform Platform) (*User, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownPlatform = errors.New("unknown platform")
View Source
var ErrUnknownService = errors.New("unknown service")
Functions ¶
func OauthConfig ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.