2017-08-16 23:37:37 +02:00
|
|
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
2016-07-22 23:14:13 +02:00
|
|
|
// See License.txt for license information.
|
|
|
|
|
|
|
|
package einterfaces
|
|
|
|
|
|
|
|
import (
|
2018-02-09 00:11:04 +01:00
|
|
|
"github.com/mattermost/mattermost-server/model"
|
2016-07-22 23:14:13 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
type SamlInterface interface {
|
|
|
|
ConfigureSP() *model.AppError
|
|
|
|
BuildRequest(relayState string) (*model.SamlAuthRequest, *model.AppError)
|
2017-08-16 23:37:37 +02:00
|
|
|
DoLogin(encodedXML string, relayState map[string]string) (*model.User, *model.AppError)
|
2016-07-22 23:14:13 +02:00
|
|
|
GetMetadata() (string, *model.AppError)
|
|
|
|
}
|