authorize

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 50 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(cfg *config.Config) (*Authorize, error)

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

func (*Authorize) Check added in v0.9.0

Check implements the envoy auth server gRPC endpoint.

func (*Authorize) OnConfigChange added in v0.10.0

func (a *Authorize) OnConfigChange(ctx context.Context, cfg *config.Config)

OnConfigChange updates internal structures based on config.Options

func (*Authorize) Run added in v0.10.0

func (a *Authorize) Run(ctx context.Context) error

Run runs the authorize service.

func (*Authorize) WaitForInitialSync added in v0.11.0

func (a *Authorize) WaitForInitialSync(ctx context.Context) error

WaitForInitialSync blocks until the initial sync is complete.

Directories

Path Synopsis
Package evaluator contains rego evaluators for evaluating authorize policy.
Package evaluator contains rego evaluators for evaluating authorize policy.
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