The highest tagged major version is
v2 .
Discover Packages
github.com/owncloud/ocis
graph
pkg
middleware
package
Version:
v1.19.0
Opens a new window with list of versions in this module.
Published: Mar 29, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Auth provides a middleware to authenticate requests using the x-access-token header value
and write it to the context. If there is no x-access-token the middleware prevents access and renders a json document.
RequireAdmin middleware is used to require the user in context to be an admin / have account management permissions
Source Files
¶
Click to show internal directories.
Click to hide internal directories.