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

authn/identitysynchronizer fix
This commit is contained in:
Artur Wierzbicki
2023-09-06 15:10:07 +04:00
committed by GitHub
parent 93b9f9b537
commit d50ccd6741
2 changed files with 8 additions and 5 deletions
+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,