routes

package
v0.0.0-...-271f870 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelfService

func SelfService(cfg *config.Config) func(ctx *macaron.Context, sess session.Store, x csrf.CSRF)

func SelfServiceLogin

func SelfServiceLogin(cfg *config.Config) func(ctx *macaron.Context, sess session.Store)

func SelfServiceLogout

func SelfServiceLogout(cfg *config.Config) func(ctx *macaron.Context, sess session.Store)

func SelfServiceOauth

func SelfServiceOauth(cfg *config.Config) func(ctx *macaron.Context, sess session.Store)

func SelfServiceRevoke

func SelfServiceRevoke(cfg *config.Config) func(ctx *macaron.Context, x csrf.CSRF, sess session.Store)

Types

type CSRFHandler

type CSRFHandler func(ctx *macaron.Context, x csrf.CSRF)

func ConsentGet

func ConsentGet(cfg *config.Config) CSRFHandler

func ConsentPost

func ConsentPost(cfg *config.Config) CSRFHandler

func LoginGet

func LoginGet(cfg *config.Config) CSRFHandler

func LoginPost

func LoginPost(cfg *config.Config) CSRFHandler

Jump to

Keyboard shortcuts

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