mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
Move SSO core to Core lib, new resource strings (#911)
* Move SSO core to Core lib, new resource strings * Missed resource strings for lookup
This commit is contained in:
21
src/Core/Sso/SamlSigningAlgorithms.cs
Normal file
21
src/Core/Sso/SamlSigningAlgorithms.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bit.Core.Sso
|
||||
{
|
||||
public static class SamlSigningAlgorithms
|
||||
{
|
||||
public const string Default = Sha256;
|
||||
public const string Sha256 = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
|
||||
public const string Sha384 = "http://www.w3.org/2000/09/xmldsig#rsa-sha384";
|
||||
public const string Sha512 = "http://www.w3.org/2000/09/xmldsig#rsa-sha512";
|
||||
public const string Sha1 = "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
|
||||
|
||||
public static IEnumerable<string> GetEnumerable()
|
||||
{
|
||||
yield return Sha256;
|
||||
yield return Sha384;
|
||||
yield return Sha512;
|
||||
yield return Sha1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user