middleware

package
v0.0.0-...-c4b491b Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: GPL-3.0, GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForAuthorizedUserWithMacaroons

func CheckForAuthorizedUserWithMacaroons(db *gorm.DB, rootKey string) gin.HandlerFunc

func GetRootMacaroons

func GetRootMacaroons(c *gin.Context) (string, string)

func GetRootMacaroonsFromString

func GetRootMacaroonsFromString(macaroonAuth string) (string, string)

func RequestLoggerMiddleware

func RequestLoggerMiddleware() gin.HandlerFunc

func VerifyAndGetEmail

func VerifyAndGetEmail(authData string) (*string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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