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
Click to show internal directories.
Click to hide internal directories.