authorization

package
v0.0.0-...-07dfffa Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorization

type Authorization interface {
	Handler(http.Handler) http.Handler
}

Authorization contains the different methods used for authorizing requests made to the API

type Uchiwa

type Uchiwa struct{}

Uchiwa represents an instance of the Authorization interface for the community

func (*Uchiwa) Handler

func (u *Uchiwa) Handler(next http.Handler) http.Handler

Handler verifies if the user has access to the requested resource

Jump to

Keyboard shortcuts

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