Documentation ¶
Index ¶
- func AuthorizationCodeAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
- func LoginExternalAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
- func LoginFailedWrapper(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
- func LoginPasswordAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
- func LoginSuccessWrapper(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
- func LogoutAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
- func MetaUserPluginModifier(ctx context.Context, status frontend.RequestStatus, plugin frontend.Plugin) error
- func MetaUserRegModifier(ctx context.Context, status frontend.RequestStatus, ...) error
- func MobileRegModifier(ctx context.Context, status frontend.RequestStatus, plugin frontend.Plugin) error
- func RefreshAuth(middleware frontend.AuthMiddleware) frontend.AuthMiddleware
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 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.
Click to show internal directories.
Click to hide internal directories.