vksignin

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 *VK) GenerateLink(redirectURL string) string

func (*VK) GetName

func (vk *VK) GetName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL