ContainerImage.Pinniped/pkg/oidcclient/filesession
Matt Moyer fec24d307e
Fix missing normalization in pkg/oidcclient/filesession.
We have some nice normalization code in this package to remove expired or otherwise malformed cache entries, but we weren't calling it in the appropriate place.

Added calls to normalize the cache data structure before and after each transaction, and added test cases to ensure that it's being called.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2021-04-08 14:12:34 -05:00
..
testdata Add validated ID token claims to the oidctypes.Token structure. 2020-12-04 15:18:41 -06:00
cachefile.go Move OIDC Token structs into a new `oidctypes` package. 2020-11-30 17:02:03 -06:00
cachefile_test.go Add validated ID token claims to the oidctypes.Token structure. 2020-12-04 15:18:41 -06:00
filesession.go Fix missing normalization in pkg/oidcclient/filesession. 2021-04-08 14:12:34 -05:00
filesession_test.go Fix missing normalization in pkg/oidcclient/filesession. 2021-04-08 14:12:34 -05:00