extensions

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateLoginURL

func GenerateLoginURL(oauthState string, credentials models.Credentials) (string, error)

GenerateLoginURL generates the login url using googleapis OAuth2 Client Secret and OAuth2 Client ID

func GetAccessToken

func GetAccessToken(code string) (string, error)

GetAccessToken exchange authorization code with access token

Types

This section is empty.

Jump to

Keyboard shortcuts

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