1
0
mirror of https://github.com/bitwarden/server synced 2025-12-27 21:53:24 +00:00

AC Team code ownership moves: Organization pt. 1 (#3472)

* move Organization.cs files to AC Team code ownership
This commit is contained in:
Thomas Rittson
2023-11-29 09:18:08 +10:00
committed by GitHub
parent 492298442d
commit 9021236d61
167 changed files with 222 additions and 164 deletions

View File

@@ -1,5 +1,5 @@
using System.Text.Json.Serialization;
using Bit.Core.Entities;
using Bit.Core.AdminConsole.Entities;
using Bit.Core.Tokens;
namespace Bit.Core.Auth.Models.Business.Tokenables;
@@ -35,7 +35,7 @@ public class SsoTokenable : ExpiringTokenable
&& organization.Id.Equals(OrganizationId);
}
// Validates deserialized
// Validates deserialized
protected override bool TokenIsValid() =>
Identifier == TokenIdentifier
&& OrganizationId != default