Documentation ¶
Overview ¶
Package authorize is a pomerium service that is responsible for determining if a given request should be authorized (AuthZ).
Index ¶
- type Authorize
- func (a *Authorize) Check(ctx context.Context, in *envoy_service_auth_v3.CheckRequest) (out *envoy_service_auth_v3.CheckResponse, err error)
- func (a *Authorize) OnConfigChange(ctx context.Context, cfg *config.Config)
- func (a *Authorize) Run(ctx context.Context) error
- func (a *Authorize) WaitForInitialSync(ctx context.Context) error
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 (*Authorize) Check ¶ added in v0.9.0
func (a *Authorize) Check(ctx context.Context, in *envoy_service_auth_v3.CheckRequest) (out *envoy_service_auth_v3.CheckResponse, err error)
Check implements the envoy auth server gRPC endpoint.
func (*Authorize) OnConfigChange ¶ added in v0.10.0
OnConfigChange updates internal structures based on config.Options
Source Files ¶
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. |
Click to show internal directories.
Click to hide internal directories.