Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
package directorysync
import (
"github.com/bytebase/bytebase/backend/component/config"
"github.com/bytebase/bytebase/backend/component/iam"
"github.com/bytebase/bytebase/backend/enterprise"
"github.com/bytebase/bytebase/backend/store"
)
// Service is the API endpoint for handling SCIM requests.
type Service struct {
store *store.Store
licenseService *enterprise.LicenseService
iamManager *iam.Manager
profile *config.Profile
}
// NewService creates a SCIM service.
func NewService(
store *store.Store,
licenseService *enterprise.LicenseService,
iamManager *iam.Manager,
profile *config.Profile,
) *Service {
return &Service{
store: store,
licenseService: licenseService,
iamManager: iamManager,
profile: profile,
}
}