middleware

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientSession

func ClientSession(ctx *fiber.Ctx) model.SessionRequest

Types

type JwtAuthenticator

type JwtAuthenticator struct {
	Logger *zap.Logger
	storage.Cacher
	CiamPartner adaptor.CiamWatcher
}

func NewJwtAuthenticator

func NewJwtAuthenticator(a *JwtAuthenticator) JwtAuthenticator

func (*JwtAuthenticator) ClientFilter

func (a *JwtAuthenticator) ClientFilter() fiber.Handler

func (*JwtAuthenticator) PartnerFilter

func (a *JwtAuthenticator) PartnerFilter() fiber.Handler

type PreAuthenticator

type PreAuthenticator struct {
	Logger *zap.Logger
}

func NewPreAuthenticator

func NewPreAuthenticator(a *PreAuthenticator) PreAuthenticator

func (*PreAuthenticator) ClientFilter

func (a *PreAuthenticator) ClientFilter() fiber.Handler

Jump to

Keyboard shortcuts

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