auth

package
v0.0.0-...-d08f02b Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTokenFile

func CreateTokenFile(token *oauth2.Token) error

func GetClient

func GetClient() *github.Client

func GetContext

func GetContext() context.Context

func GetOAuthConfig

func GetOAuthConfig() *oauth2.Config

func GetToken

func GetToken() (*oauth2.Token, error)

func IsAuthedUser

func IsAuthedUser() bool

func SetOAuthConfig

func SetOAuthConfig(config model.Config)

Types

This section is empty.

Jump to

Keyboard shortcuts

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