handler

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is used to handle all routes of auth server

func (Handler) EmailVerificationHandler added in v0.5.0

func (handler Handler) EmailVerificationHandler(w http.ResponseWriter, r *http.Request)

EmailVerificationHandler is used to handle email verification route

func (*Handler) Init

func (handler *Handler) Init()

Init is used to initialise

func (Handler) RefreshHandler

func (handler Handler) RefreshHandler(w http.ResponseWriter, r *http.Request)

RefreshHandler is used to handle refresh route

func (Handler) SignInFreshHandler

func (handler Handler) SignInFreshHandler(w http.ResponseWriter, r *http.Request)

SignInFreshHandler is used handle sign in fresh route where fresh access token is returned

func (Handler) SignInHandler

func (handler Handler) SignInHandler(w http.ResponseWriter, r *http.Request)

SignInHandler is used to handle sign in route

func (Handler) SignUpHandler

func (handler Handler) SignUpHandler(w http.ResponseWriter, r *http.Request)

SignUpHandler is used to handle sign up

Jump to

Keyboard shortcuts

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