2019-11-29 06:59:40 -05:00
|
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
|
|
|
// See LICENSE.txt for license information.
|
2016-07-26 17:39:51 -04:00
|
|
|
|
|
|
|
|
package einterfaces
|
|
|
|
|
|
2021-01-07 12:12:43 -05:00
|
|
|
import (
|
2023-06-11 01:24:35 -04:00
|
|
|
"github.com/mattermost/mattermost/server/public/model"
|
2023-09-07 02:50:22 -04:00
|
|
|
"github.com/mattermost/mattermost/server/public/shared/request"
|
2021-01-07 12:12:43 -05:00
|
|
|
)
|
2016-07-26 17:39:51 -04:00
|
|
|
|
|
|
|
|
type AccountMigrationInterface interface {
|
2025-09-10 09:11:32 -04:00
|
|
|
MigrateToLdap(rctx request.CTX, fromAuthService string, foreignUserFieldNameToMatch string, force bool, dryRun bool) *model.AppError
|
|
|
|
|
MigrateToSaml(rctx request.CTX, fromAuthService string, usersMap map[string]string, auto bool, dryRun bool) *model.AppError
|
2016-07-26 17:39:51 -04:00
|
|
|
}
|