mirror of
https://github.com/bitwarden/server
synced 2026-01-07 19:13:50 +00:00
Run formatting (#2230)
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace Bit.Core.Utilities
|
||||
namespace Bit.Core.Utilities;
|
||||
|
||||
public static class ClaimsExtensions
|
||||
{
|
||||
public static class ClaimsExtensions
|
||||
public static bool HasSsoIdP(this IEnumerable<Claim> claims)
|
||||
{
|
||||
public static bool HasSsoIdP(this IEnumerable<Claim> claims)
|
||||
{
|
||||
return claims.Any(c => c.Type == "idp" && c.Value == "sso");
|
||||
}
|
||||
return claims.Any(c => c.Type == "idp" && c.Value == "sso");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user