modifiers

package
v4.4.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationCodeAuth

func AuthorizationCodeAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

AuthorizationCodeAuth allows users having a valid AuthCode to register a session

func LoginExternalAuth

func LoginExternalAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

LoginExternalAuth allows users having a valid Cells session to create an authorization code directly

func LoginFailedWrapper

func LoginFailedWrapper(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

LoginFailedWrapper wraps functionalities after user failed to log in

func LoginPasswordAuth

func LoginPasswordAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

func LoginSuccessWrapper

func LoginSuccessWrapper(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

LoginSuccessWrapper wraps functionalities after user was successfully logged in

func LogoutAuth

func LogoutAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

func MetaUserPluginModifier added in v4.1.1

func MetaUserPluginModifier(ctx context.Context, status frontend.RequestStatus, plugin frontend.Plugin) error

func MetaUserRegModifier

func MetaUserRegModifier(ctx context.Context, status frontend.RequestStatus, registry *frontend.Cpydio_registry) error

MetaUserRegModifier adds/updates some registry contributions for rendering metadata.

func MobileRegModifier

func MobileRegModifier(ctx context.Context, status frontend.RequestStatus, plugin frontend.Plugin) error

MobileRegModifier enables or disable gui.mobile depending on User-Agent request Header.

func RefreshAuth

func RefreshAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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