base

package
v1.0.9-webauthn-v2.14 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHandler

type BaseHandler struct {
	Container                      di.Container
	Localizer                      func() contracts_localizer.ILocalizer
	ClaimsPrincipal                func() fluffycore_contracts_common.IClaimsPrincipal
	EchoContextAccessor            func() fluffycore_echo_contracts_contextaccessor.IEchoContextAccessor
	IdpServiceServer               func() proto_oidc_idp.IFluffyCoreIDPServiceServer
	RageUserService                func() proto_oidc_user.IFluffyCoreRageUserServiceServer
	AuthorizationRequestStateStore func() proto_oidc_flows.IFluffyCoreAuthorizationRequestStateStoreServer
	ScopedMemoryCache              func() fluffycore_contracts_common.IScopedMemoryCache
	EmailService                   func() contracts_email.IEmailService
	SessionFactory                 func() contracts_sessions.ISessionFactory
	// contains filtered or unexported fields
}

func NewBaseHandler

func NewBaseHandler(container di.Container) *BaseHandler

func (*BaseHandler) GetIDPs

func (b *BaseHandler) GetIDPs(ctx context.Context) ([]*proto_oidc_models.IDP, error)

func (*BaseHandler) Render

func (b *BaseHandler) Render(c echo.Context, code int, name string, data map[string]interface{}) error

func (*BaseHandler) RenderAutoPost

func (b *BaseHandler) RenderAutoPost(c echo.Context, action string, formData []models.FormParam) error

func (*BaseHandler) TeleportBackToLogin added in v1.0.7

func (b *BaseHandler) TeleportBackToLogin(c echo.Context, msg string) error

func (*BaseHandler) TeleportToPath added in v1.0.7

func (b *BaseHandler) TeleportToPath(c echo.Context, path string) error

Jump to

Keyboard shortcuts

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