Chore: AuthN/IdentitySynchronizer interface/impl compatibility wire fix (#74400)

authn/identitysynchronizer fix
This commit is contained in:
Artur Wierzbicki authored and GitHub committed 2023-09-06 15:10:07 +04:00
1 parent 93b9f9b537
commit d50ccd6741
2 files changed
+8 -5

No files matched your search

+6 -2
View File
@@ -48,10 +48,14 @@ var (
)
// make sure service implements authn.Service interface
var _ authn.Service = new(Service)
func ProvideAuthnService(s *Service) authn.Service {
return s
}
// make sure service implements authn.IdentitySynchronizer interface
var _ authn.IdentitySynchronizer = new(Service)
func ProvideIdentitySynchronizer(s *Service) authn.IdentitySynchronizer {
return s
}
func ProvideService(
cfg *setting.Cfg, tracer tracing.Tracer,