cascan

package module
v0.0.0-...-53eadb5 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: GPL-3.0 Imports: 8 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 struct {
	// contains filtered or unexported fields
}

func NewAuthorizer

func NewAuthorizer(authModelFile string, policyFile string) *Authorizer

func (*Authorizer) Authorize

func (a *Authorizer) Authorize() buffalo.MiddlewareFunc

func (*Authorizer) IsAuthorizedFor

func (a *Authorizer) IsAuthorizedFor(resourceName string, actionName string) bool

Jump to

Keyboard shortcuts

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