gothic

package
v0.0.0-...-c3dc119 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package gothic wraps common behaviour when using Goth. This makes it quick, and easy, to get up and running with Goth. Of course, if you want complete control over how things flow, in regards to the authentication process, feel free and use Goth directly.

See https://github.com/laicosly/goth/examples/main.go to see this in action.

Index

Constants

This section is empty.

Variables

View Source
var (
	SessionName = "_gothic_session"
	AppKey      = "zDZZYmriq8pJ5k8OKqdDuUFym2e7Im5O1MzdyapfotOnrqQ7ZEdTN9AA7K6aPieC"
)

AppKey should be replaced by applications using gothic.

Store can/should be set by applications using gothic. The default is a cookie store.

Functions

func OauthRequest

func OauthRequest(c *echo.Context) error

func OauthResponse

func OauthResponse(c *echo.Context) (goth.Session, *goth.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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