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:
parent
04a78ad9bb
commit
07108135ed
@ -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))
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user