mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
16 lines
454 B
Go
16 lines
454 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
package einterfaces
|
|
|
|
import (
|
|
"github.com/mattermost/mattermost-server/model"
|
|
)
|
|
|
|
type SamlInterface interface {
|
|
ConfigureSP() error
|
|
BuildRequest(relayState string) (*model.SamlAuthRequest, *model.AppError)
|
|
DoLogin(encodedXML string, relayState map[string]string) (*model.User, *model.AppError)
|
|
GetMetadata() (string, *model.AppError)
|
|
}
|