LocalSigner: Remove unused dependency (#96118)

ID Token Signer: Remove unecessary deps
This commit is contained in:
Gabriel MABILLE 2024-11-08 15:46:16 +01:00 committed by GitHub
parent c972ec9737
commit bd53fa9580
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,6 @@ import (
"github.com/go-jose/go-jose/v3/jwt"
"github.com/grafana/grafana/pkg/services/auth"
"github.com/grafana/grafana/pkg/services/featuremgmt"
"github.com/grafana/grafana/pkg/services/signingkeys"
)
@ -18,12 +17,11 @@ const (
var _ auth.IDSigner = (*LocalSigner)(nil)
func ProvideLocalSigner(keyService signingkeys.Service, features featuremgmt.FeatureToggles) (*LocalSigner, error) {
return &LocalSigner{features, keyService}, nil
func ProvideLocalSigner(keyService signingkeys.Service) (*LocalSigner, error) {
return &LocalSigner{keyService}, nil
}
type LocalSigner struct {
features featuremgmt.FeatureToggles
keyService signingkeys.Service
}