From 38f7fff2f9fdd35ade09d648fc6a2843954ddd60 Mon Sep 17 00:00:00 2001 From: Chad Scharf <3904944+cscharf@users.noreply.github.com> Date: Thu, 13 Aug 2020 20:11:23 -0400 Subject: [PATCH] Added new SAML2 enums for configuration (#868) --- src/Core/Enums/Saml2BindingType.cs | 9 +++++++++ src/Core/Enums/Saml2SigningBehavior.cs | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/Core/Enums/Saml2BindingType.cs create mode 100644 src/Core/Enums/Saml2SigningBehavior.cs diff --git a/src/Core/Enums/Saml2BindingType.cs b/src/Core/Enums/Saml2BindingType.cs new file mode 100644 index 0000000000..6476af1a93 --- /dev/null +++ b/src/Core/Enums/Saml2BindingType.cs @@ -0,0 +1,9 @@ +namespace Bit.Core.Enums +{ + public enum Saml2BindingType : byte + { + HttpRedirect = 1, + HttpPost = 2, + Artifact = 4 + } +} diff --git a/src/Core/Enums/Saml2SigningBehavior.cs b/src/Core/Enums/Saml2SigningBehavior.cs new file mode 100644 index 0000000000..9ef55ec003 --- /dev/null +++ b/src/Core/Enums/Saml2SigningBehavior.cs @@ -0,0 +1,9 @@ +namespace Bit.Core.Enums +{ + public enum Saml2SigningBehavior : byte + { + IfIdpWantAuthnRequestsSigned = 0, + Always = 1, + Never = 3 + } +}