Features: Add aplha feature toggle for authn service (#59469)
* Features: Add aplha feature toggle for authn service * AuthN: Add service boilerplate * Set authnz-team as codeowners of authn service
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package authn
|
||||
|
||||
type Service interface {
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package authnimpl
|
||||
|
||||
import "github.com/grafana/grafana/pkg/services/authn"
|
||||
|
||||
var _ authn.Service = new(Service)
|
||||
|
||||
type Service struct {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package authntest
|
||||
|
||||
import "github.com/grafana/grafana/pkg/services/authn"
|
||||
|
||||
type FakeService struct {
|
||||
authn.Service
|
||||
}
|
||||
@@ -367,5 +367,10 @@ var (
|
||||
Description: "Use Elasticsearch as backend data source",
|
||||
State: FeatureStateAlpha,
|
||||
},
|
||||
{
|
||||
Name: "authnService",
|
||||
Description: "Use new auth service to perform authentication",
|
||||
State: FeatureStateAlpha,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
@@ -270,4 +270,8 @@ const (
|
||||
// FlagElasticsearchBackendMigration
|
||||
// Use Elasticsearch as backend data source
|
||||
FlagElasticsearchBackendMigration = "elasticsearchBackendMigration"
|
||||
|
||||
// FlagAuthnService
|
||||
// Use new auth service to perform authentication
|
||||
FlagAuthnService = "authnService"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user