vk

package
v0.0.0-...-c433275 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderID = "vk"
View Source
const StateVar = "vk-state"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(c *auth.ExchangerConfig, s auth.Session) *Config

func (*Config) Exchange

func (c *Config) Exchange(code string, state string) error

func (*Config) Start

func (c *Config) Start() (string, error)

func (*Config) UserFetcher

func (c *Config) UserFetcher() auth.UserFetcher

type Fetcher

type Fetcher struct {
	*Config
}

func (*Fetcher) Fetch

func (v *Fetcher) Fetch() (*models.Social, error)

Jump to

Keyboard shortcuts

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