modifiers

package
v2.2.0-rc0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: AGPL-3.0 Imports: 32 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 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

type EditorLibreOffice added in v1.2.2

type EditorLibreOffice struct {
	WOPI      string
	Collabora *url.URL
}

Jump to

Keyboard shortcuts

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