base

package
v1.0.1-herb-namespaced... Latest Latest
Warning

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

Go to latest
Published: Feb 28, 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
	UserService             func() proto_oidc_user.IFluffyCoreUserServiceServer
	OIDCFlowStore           func() proto_oidc_flows.IFluffyCoreOIDCFlowStoreServer
	ExternalOauth2FlowStore func() proto_oidc_flows.IFluffyCoreExternalOauth2FlowStoreServer
	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

Jump to

Keyboard shortcuts

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