5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-11 11:15:48 +00:00
matterbridge/vendor/github.com/mattermost/mattermost-server/einterfaces/saml.go

16 lines
464 B
Go
Raw Normal View History

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