Adding saml migration command (#8263)

* Adding saml migration command

* Texts fixed
This commit is contained in:
Jesús Espino
2018-02-21 14:34:03 +01:00
committed by GitHub
parent 75d9a3a3b9
commit 342d05bcfc
3 changed files with 176 additions and 28 deletions

View File

@@ -6,5 +6,6 @@ package einterfaces
import "github.com/mattermost/mattermost-server/model"
type AccountMigrationInterface interface {
MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool) *model.AppError
MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool, dryRun bool) *model.AppError
MigrateToSaml(fromAuthService string, usersMap map[string]string, auto bool, dryRun bool) *model.AppError
}