handler

package
v0.0.0-...-14b8d0e Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandStringBytes

func RandStringBytes(n int) string

TODO: crypto RAND

Types

type Handler

type Handler struct {
	DI *model.DI
}

func (*Handler) Auth

func (h *Handler) Auth() (http.HandlerFunc, error)

func (*Handler) Callback

func (h *Handler) Callback() http.HandlerFunc

func (*Handler) DiscoveryMeta

func (h *Handler) DiscoveryMeta() (http.HandlerFunc, error)

func (*Handler) Token

func (h *Handler) Token() http.HandlerFunc

Jump to

Keyboard shortcuts

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