github.com/vnforks/kid/v5@v5.22.1-0.20200408055009-b89d99c65676/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/vnforks/kid/v5/model" 8 ) 9 10 type SamlInterface interface { 11 ConfigureSP() error 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 }