summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/platform/model/saml.go
blob: 16d3845da6a2697c372c90411406619fae57906b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

package model

const (
	USER_AUTH_SERVICE_SAML      = "saml"
	USER_AUTH_SERVICE_SAML_TEXT = "With SAML"
	SAML_IDP_CERTIFICATE        = 1
	SAML_PRIVATE_KEY            = 2
	SAML_PUBLIC_CERT            = 3
)

type SamlAuthRequest struct {
	Base64AuthRequest string
	URL               string
	RelayState        string
}