auth

package
v0.0.0-...-fbea8a0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2014 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	oauth.Config
	Token *oauth.Token
}

func Init

func Init(client_id, client_secret, redirect_url, auth_url, token_url string) *Auth

func (*Auth) AccessToken

func (auth *Auth) AccessToken() string

func (*Auth) Authorize

func (auth *Auth) Authorize(code string) (string, error)

func (*Auth) LoginURL

func (auth *Auth) LoginURL() string

Jump to

Keyboard shortcuts

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