auth

package
v0.0.0-...-1cc1a95 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeHandler

func AuthorizeHandler(context echo.Context) error

func AuthorizeLoginHandler

func AuthorizeLoginHandler(context echo.Context) error

func AuthorizeLogoutHandler

func AuthorizeLogoutHandler(context echo.Context) error

func AuthorizeTokenHandler

func AuthorizeTokenHandler(context echo.Context) error

func AuthorizeUserLoginHandler

func AuthorizeUserLoginHandler(context echo.Context) error

func AuthorizeUserRefreshHandler

func AuthorizeUserRefreshHandler(context echo.Context) error

func AuthorizeVerifyHandler

func AuthorizeVerifyHandler(context echo.Context) error

func Setup

func Setup(api *echo.Group)

Types

type UserLoginParam

type UserLoginParam struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type UserRefreshParam

type UserRefreshParam struct {
	RefreshToken string `json:"refresh_token" form:"refresh_token" query:"refresh_token"`
}

Jump to

Keyboard shortcuts

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