authorization

package
v0.0.0-...-badfa59 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorizer

type Authorizer interface {
	SetAuthData(data authentication.AuthData)
	IsModerator() (bool, error)
}

func NewAuthorizer

func NewAuthorizer() Authorizer

type UnauthorizedAccess

type UnauthorizedAccess struct{}

func (UnauthorizedAccess) Error

func (err UnauthorizedAccess) Error() string

Jump to

Keyboard shortcuts

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