authorize

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package authorize is a pomerium service that is responsible for determining if a given request should be authorized (AuthZ).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorize

type Authorize struct {
	// contains filtered or unexported fields
}

Authorize struct holds

func New

func New(opts config.Options) (*Authorize, error)

New validates and creates a new Authorize service from a set of config options.

func (*Authorize) IsAuthorized added in v0.7.0

IsAuthorized checks to see if a given user is authorized to make a request.

func (*Authorize) UpdateOptions added in v0.0.5

func (a *Authorize) UpdateOptions(opts config.Options) error

UpdateOptions implements the OptionsUpdater interface and updates internal structures based on config.Options

Directories

Path Synopsis
Package evaluator defines a Evaluator interfaces that can be implemented by a policy evaluator framework.
Package evaluator defines a Evaluator interfaces that can be implemented by a policy evaluator framework.
mock_evaluator
Package mock_evaluator is a generated GoMock package.
Package mock_evaluator is a generated GoMock package.
opa
Package opa implements the policy evaluator interface to make authorization decisions.
Package opa implements the policy evaluator interface to make authorization decisions.

Jump to

Keyboard shortcuts

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