pomerium/authorize
Kenneth Jenkins ffca3b36a9
authorize: reuse policy evaluators where possible (#4710)
Add a parameter to evaluator.New() for the previous Evaluator (if any).
If the evaluatorConfig is the same, reuse any PolicyEvaluators for
policies that have not changed from the previous Evaluator.

Use the route IDs along with the policy checksums to determine whether a
given policy has changed. Similarly, add a new cacheKey() method to the
evaluatorConfig to compute a checksum used for determine whether the
evaluatorConfig has changed. (Store this checksum on the Evaluator.)
2023-11-06 13:57:59 -08:00
..
evaluator authorize: reuse policy evaluators where possible (#4710) 2023-11-06 13:57:59 -08:00
internal/store authorize: move sign out and jwks urls to route, update issuer for JWT (#4046) 2023-03-08 12:40:15 -07:00
access_tracker.go rework session updates to use new patch method (#4705) 2023-11-06 09:43:07 -08:00
access_tracker_test.go databroker: add support for putting multiple records (#3291) 2022-04-26 16:41:38 -06:00
authorize.go authorize: reuse policy evaluators where possible (#4710) 2023-11-06 13:57:59 -08:00
authorize_test.go authorize: reuse policy evaluators where possible (#4710) 2023-11-06 13:57:59 -08:00
check_response.go authorize: add "client-certificate-required" reason (#4389) 2023-07-25 10:03:51 -07:00
check_response_test.go authorize: reuse policy evaluators where possible (#4710) 2023-11-06 13:57:59 -08:00
databroker.go core/authorize: check for expired tokens (#4543) 2023-09-15 16:06:13 -06:00
databroker_test.go core/authorize: check for expired tokens (#4543) 2023-09-15 16:06:13 -06:00
grpc.go core/authorize: check for expired tokens (#4543) 2023-09-15 16:06:13 -06:00
grpc_test.go rework session updates to use new patch method (#4705) 2023-11-06 09:43:07 -08:00
log.go authorize: log id token claims separately from id token (#4394) 2023-07-26 11:45:10 -06:00
log_test.go authorize: log id token claims separately from id token (#4394) 2023-07-26 11:45:10 -06:00
state.go authorize: reuse policy evaluators where possible (#4710) 2023-11-06 13:57:59 -08:00