modifiers

package
v2.0.2-dev.20191219+in... Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GrantTypeAccess

func GrantTypeAccess(ctx context.Context, nonce string, refreshToken string, login string, pwd string, retry502 bool) (map[string]interface{}, error)

func JwtFromSession

func JwtFromSession(ctx context.Context, session *sessions.Session) (jwt string, expireTime int32, e error)

func LoginPasswordAuth

func LoginPasswordAuth(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.

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