1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-06 00:11:22 +01:00
bitwarden-server/test/Core.Test/OrganizationFeatures/OrganizationLicenses
Conner Turnbull 04cf513d78
[PM-11516] Initial license file refactor (#5002)
* Added the ability to create a JWT on an organization license that contains all license properties as claims

* Added the ability to create a JWT on a user license that contains all license properties as claims

* Added ability to consume JWT licenses

* Resolved generic type issues when getting claim value

* Now validating the jwt signature, exp, and iat

* Moved creation of ClaimsPrincipal outside of licenses given dependecy on cert

* Ran dotnet format. Resolved identity error

* Updated claim types to use string constants

* Updated jwt expires to be one year

* Fixed bug requiring email verification to be on the token

* dotnet format

* Patch build process

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2024-12-05 14:31:14 +00:00
..
CloudGetOrganizationLicenseQueryTests.cs AC Team code ownership moves: Organization pt. 1 (#3472) 2023-11-28 17:18:08 -06:00
SelfHostedGetOrganizationLicenseQueryTests.cs Replace async void with async Task (#3835) 2024-02-22 11:59:08 -05:00
UpdateOrganizationLicenseCommandTests.cs [PM-11516] Initial license file refactor (#5002) 2024-12-05 14:31:14 +00:00