Documentation ¶ Index ¶ func NewService(config tools.GetConfig, provider *secure.Provider) *oauth.OAuthProvider type VK func (vk *VK) Authentificate(r *http.Request) (oauth.UserData, error) func (vk *VK) GenerateLink(redirectURL string) string func (vk *VK) GetName() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewService ¶ func NewService(config tools.GetConfig, provider *secure.Provider) *oauth.OAuthProvider Types ¶ type VK ¶ type VK struct { ClientID string `bson:"client_id"` ClientSecret string `bson:"client_secret"` Scopes []string `bson:"scopes"` } func (*VK) Authentificate ¶ func (vk *VK) Authentificate(r *http.Request) (oauth.UserData, error) func (*VK) GenerateLink ¶ func (vk *VK) GenerateLink(redirectURL string) string func (*VK) GetName ¶ func (vk *VK) GetName() string Source Files ¶ View all Source files credentials.go vk.go Click to show internal directories. Click to hide internal directories.