oauthctrl

package
v0.0.0-...-5bb3154 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDependencies

func InitDependencies(a app.App) (err error)

InitDependencies init all dependency modules

Types

type GithubSignin

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

GithubSignin is register controller

func NewGithubSignin

func NewGithubSignin(dp dependency.Provider) (*GithubSignin, error)

NewGithubSignin create instance of a register form controller

func (*GithubSignin) Get

func (c *GithubSignin) Get(scope app.Scope) (err error)

Get is a endpoint to start signin process

func (*GithubSignin) Post

func (c *GithubSignin) Post(scope app.Scope) (err error)

Post is a endpoint fo user auth callback

Jump to

Keyboard shortcuts

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