auth

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 15 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.1.7

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.1.7

type LoginViewData struct {
	NoLocalAuth    bool
	NoOryAuth      bool
	ReturnURL      string
	ErrorMessages  []string
	OryFlow        string
	OryCSRF        string
	OryRegisterURL string
	OryRecoverURL  string
	UserIdentifier ory.IdentityIdentifier
}

Jump to

Keyboard shortcuts

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