auth

package
v0.0.0-...-c11ca93 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthentication

func NewAuthentication(config *json.RawMessage, r *echo.Echo, globalConfig *types.Configuration) (newAuth *types.Authentication, err error)

Should be called by authentication mechanism

Types

type AccessPath

type AccessPath struct {
	RealPath    *string
	Access      api.AccessType
	Error       api.EnumCommandErrorCode
	IsDir       bool
	Exists      bool
	IsShareLink bool
	FileInfo    os.FileInfo
}

func GetAccessAndPath

func GetAccessAndPath(config *types.Configuration, context *types.CommandContext, inPath string, asUser bool) (AccessPath, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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