auth

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package auth contains the route handlers related to authentication and authorization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSRFViewData added in v0.5.2

type CSRFViewData struct {
	HeaderName string `json:"headerName,omitempty"`
	FieldName  string `json:"fieldName,omitempty"`
	Token      string `json:"token,omitempty"`
}

type Handlers

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

func (*Handlers) HandleCSRFGet

func (h *Handlers) HandleCSRFGet() echo.HandlerFunc

func (*Handlers) HandleLoginGet

func (h *Handlers) HandleLoginGet() auth.HTTPHandlerFuncWithSession

func (*Handlers) HandleSessionsPost

func (h *Handlers) HandleSessionsPost() echo.HandlerFunc

func (*Handlers) Register

func (h *Handlers) Register(er godest.EchoRouter)

type LoginViewData added in v0.5.2

type LoginViewData struct {
	NoAuth        bool
	ReturnURL     string
	ErrorMessages []string
}

Jump to

Keyboard shortcuts

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