authorization

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(allowedARNs []string) echo.MiddlewareFunc

Middleware attaches an authorization middleware that authenticates a request against the authenticated user from the authentication middleware. Attaches a token.Identity struct to the request if properly authenticated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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