matterbridge/vendor/github.com/mattermost/mattermost-server/einterfaces/saml.go

16 lines
464 B
Go
Raw Normal View History

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