2017-04-12 08:27:57 -04:00
|
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
2019-11-29 12:59:40 +01:00
|
|
|
// See LICENSE.txt for license information.
|
2016-07-05 15:49:00 -04:00
|
|
|
|
|
|
|
|
package einterfaces
|
|
|
|
|
|
|
|
|
|
import (
|
2019-11-28 14:39:38 +01:00
|
|
|
"github.com/mattermost/mattermost-server/v5/model"
|
2016-07-05 15:49:00 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type SamlInterface interface {
|
2019-02-21 13:51:25 -04:00
|
|
|
ConfigureSP() error
|
2016-07-05 15:49:00 -04:00
|
|
|
BuildRequest(relayState string) (*model.SamlAuthRequest, *model.AppError)
|
2017-04-04 11:54:52 -04:00
|
|
|
DoLogin(encodedXML string, relayState map[string]string) (*model.User, *model.AppError)
|
2016-07-05 15:49:00 -04:00
|
|
|
GetMetadata() (string, *model.AppError)
|
|
|
|
|
}
|