github.com/dschalla/mattermost-server@v4.8.1-rc1+incompatible/einterfaces/saml.go (about)

     1  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package einterfaces
     5  
     6  import (
     7  	"github.com/mattermost/mattermost-server/model"
     8  )
     9  
    10  type SamlInterface interface {
    11  	ConfigureSP() *model.AppError
    12  	BuildRequest(relayState string) (*model.SamlAuthRequest, *model.AppError)
    13  	DoLogin(encodedXML string, relayState map[string]string) (*model.User, *model.AppError)
    14  	GetMetadata() (string, *model.AppError)
    15  }