diff options
| author | mo khan <mo@mokhan.ca> | 2025-04-17 14:20:52 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-04-17 14:20:52 -0600 |
| commit | e3eeba19f090f38712b4720e2f928d503f0d92d2 (patch) | |
| tree | 6418cc22ca11de18265b7d8eeb0fff907460fff6 /pkg/key/init.go | |
| parent | 62c24d360745ef8778a322c276a9ad577dfc7713 (diff) | |
refactor: remove Key suffix from context keys
Diffstat (limited to 'pkg/key/init.go')
| -rw-r--r-- | pkg/key/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/key/init.go b/pkg/key/init.go index 01d8a3d..f2d7b7f 100644 --- a/pkg/key/init.go +++ b/pkg/key/init.go @@ -6,5 +6,5 @@ import ( "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/pkg/oidc" ) -var CurrentUserKey context.Key[*domain.User] = context.Key[*domain.User]("current_user") -var IDTokenKey context.Key[*oidc.IDToken] = context.Key[*oidc.IDToken]("id_token") +var CurrentUser context.Key[*domain.User] = context.Key[*domain.User]("current_user") +var IDToken context.Key[*oidc.IDToken] = context.Key[*oidc.IDToken]("id_token") |
