reddit

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const StateCookieName = "reddit_oauth2_state"
View Source
const UserAgent = "SteemWatch"

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

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

func NewAuthenticator

func NewAuthenticator(clientID, clientSecret, redirectURL string, forceSSL bool) *Authenticator

func (*Authenticator) Authenticate

func (authenticator *Authenticator) Authenticate(ctx echo.Context) error

func (*Authenticator) Callback

func (authenticator *Authenticator) Callback(ctx echo.Context) (*auth.UserProfile, error)

Jump to

Keyboard shortcuts

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