featurebase/authn
Garrison Davis 0f5a56c958 Stop using string keys in contexts
This fixes the OriginalIP and RequestUserID in the main featurebase
package, and the Access and Refresh tokens, the UserInfo, and the
[]string of Indexes passed with context.Context(s) in the authn package.

An empty struct was used for all of these keys (and relevant helper
functions we added) to avoid allocations where possible while still
using the context functionality.

Some of the logic in the server.GetIndexes function was fixed.
2022-11-04 15:01:40 -06:00
..
authenticate.go Stop using string keys in contexts 2022-11-04 15:01:40 -06:00
authenticate_internal_test.go [FB-1621] account for token expiration as float and int (#2188) 2022-08-10 17:26:10 -05:00
context.go Stop using string keys in contexts 2022-11-04 15:01:40 -06:00