summaryrefslogtreecommitdiffstats
path: root/einterfaces/account_migration.go
blob: ab61544ff25939c4622c288636dab15ad4eb2e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

package einterfaces

import "github.com/mattermost/mattermost-server/model"

type AccountMigrationInterface interface {
	MigrateToLdap(fromAuthService string, forignUserFieldNameToMatch string, force bool, dryRun bool) *model.AppError
	MigrateToSaml(fromAuthService string, usersMap map[string]string, auto bool, dryRun bool) *model.AppError
}