1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-07 19:50:32 -05:00

PM-20532 - Add TODOs

This commit is contained in:
Jared Snider 2025-05-15 22:55:21 -04:00
parent 04a78ad9bb
commit 07108135ed
No known key found for this signature in database
GPG Key ID: A149DDD612516286
2 changed files with 4 additions and 0 deletions

View File

@ -174,6 +174,9 @@ public class CurrentContext : ICurrentContext
ServiceAccountOrganizationId = new Guid(GetClaimValue(claimsDict, Claims.Organization));
}
// TODO: IdentityClientType.Send should maybe be wired up here. Have further discussion with Justin
// Create an ExtensionMethod on HttpContext to get the send id from the subject claim
DeviceIdentifier = GetClaimValue(claimsDict, Claims.Device);
if (Enum.TryParse(GetClaimValue(claimsDict, Claims.DeviceType), out DeviceType deviceType))

View File

@ -281,6 +281,7 @@ public class IdentityServerTests : IClassFixture<IdentityApplicationFactory>
}
// TODO: use this as example to call send token endpoint
[Theory, BitAutoData]
public async Task TokenEndpoint_GrantTypeClientCredentials_AsOrganization_Success(Organization organization, Bit.Core.Entities.OrganizationApiKey organizationApiKey)
{