demo

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ValidIdChars = "1234567890abcdefghijklmnopqrstuvwxyz"

Variables

This section is empty.

Functions

func HandleCallback

func HandleCallback(c echo.Context) error

func HandleClientCredential

func HandleClientCredential(c echo.Context) error

func HandleHome

func HandleHome(c echo.Context) error

func HandleHybridAPI

func HandleHybridAPI(c echo.Context) error

func HandlePasswordPage

func HandlePasswordPage(c echo.Context) error

func HandlePasswordPost

func HandlePasswordPost(c echo.Context) error

func HandleRefresh

func HandleRefresh(c echo.Context) error

func RandomIdString

func RandomIdString(length int) string

func Setup

func Setup(e *echo.Echo)

Types

type HomePageData

type HomePageData struct {
	Type            string
	AuthCodeFlowURL string
	ImplicitFlowURL string
	HybridFlowURL   string
	AccessCode      string
	AccessToken     string
	RefreshToken    string
	IDToken         string
	State           string
	CodeVerifier    string
}

func NewHomePageData

func NewHomePageData(pageType string) *HomePageData

Jump to

Keyboard shortcuts

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