Implement SAML endpoints for APIv4 (#5671)

* Implement SAML endpoints for APIv4

* Fix unit test

* Only disable encryption when removing puplic/private certs
This commit is contained in:
Joram Wilander
2017-03-13 08:26:23 -04:00
committed by George Goldberg
parent fe38d6d5bb
commit 3559fb7959
11 changed files with 540 additions and 19 deletions

19
api4/saml_test.go Normal file
View File

@@ -0,0 +1,19 @@
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
package api4
import (
"testing"
)
func TestGetSamlMetadata(t *testing.T) {
th := Setup().InitBasic().InitSystemAdmin()
defer TearDown()
Client := th.Client
_, resp := Client.GetSamlMetadata()
CheckNotImplementedStatus(t, resp)
// Rest is tested by enterprise tests
}