auth

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPolicyFile string
)

Functions

func Keystone

func Keystone(logger log.Logger) func(token string) (*models.Principal, error)

func LoadPolicy

func LoadPolicy(policyFile string) (map[string]string, error)

func NewOsloPolicyAuthorizer

func NewOsloPolicyAuthorizer(document *loads.Document, rules map[string]string) (runtime.Authorizer, error)

Types

This section is empty.

Source Files

  • authorizer.go
  • keystone_auth.go

Jump to

Keyboard shortcuts

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