Documentation ¶
Index ¶
- type BaseHandler
- func (b *BaseHandler) GetIDPs(ctx context.Context) ([]*proto_oidc_models.IDP, error)
- func (b *BaseHandler) Render(c echo.Context, code int, name string, data map[string]interface{}) error
- func (b *BaseHandler) RenderAutoPost(c echo.Context, action string, formData []models.FormParam) error
- func (b *BaseHandler) TeleportBackToLogin(c echo.Context, msg string) error
- func (b *BaseHandler) TeleportToPath(c echo.Context, path string) error
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) RenderAutoPost ¶
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
Click to show internal directories.
Click to hide internal directories.