IDForwarding: Add auth hook to generate id token (#75555)

* AuthN: Move identity struct to its own file

* IDForwarding: Add IDToken property to usr and identity structs and add GetIDToken to requester interface

* Inject IDService into background services

* IDForwarding: Register post auth hook when feature toggle is enabled
This commit is contained in:
Karl Persson
2023-09-28 09:22:05 +02:00
committed by GitHub
parent 3a1c3be057
commit b9b4246432
8 changed files with 264 additions and 170 deletions
@@ -62,7 +62,7 @@ func ProvideBackgroundServiceRegistry(
_ serviceaccounts.Service, _ *guardian.Provider,
_ *plugindashboardsservice.DashboardUpdater, _ *sanitizer.Provider,
_ *grpcserver.HealthService, _ entity.EntityStoreServer, _ *grpcserver.ReflectionService, _ *ldapapi.Service,
_ *apiregistry.Service,
_ *apiregistry.Service, _ auth.IDService,
) *BackgroundServiceRegistry {
return NewBackgroundServiceRegistry(
httpServer,