chore: move user_auth models to (mostly) login service (#62269)

* chore: move user_auth models to (mostly) login service
This commit is contained in:
Kristin Laemmert
2023-01-27 13:36:54 -05:00
committed by GitHub
parent 4563111180
commit 9256a520a4
57 changed files with 583 additions and 603 deletions

View File

@ -1,9 +1,7 @@
package ldap
import "github.com/grafana/grafana/pkg/models"
type Groups interface {
GetTeams(groups []string, orgIDs []int64) ([]models.TeamOrgGroupDTO, error)
GetTeams(groups []string, orgIDs []int64) ([]TeamOrgGroupDTO, error)
}
type OSSGroups struct{}
@ -12,6 +10,6 @@ func ProvideGroupsService() *OSSGroups {
return &OSSGroups{}
}
func (*OSSGroups) GetTeams(_ []string, _ []int64) ([]models.TeamOrgGroupDTO, error) {
func (*OSSGroups) GetTeams(_ []string, _ []int64) ([]TeamOrgGroupDTO, error) {
return nil, nil
}