Skip to content

Commit

Permalink
Turn off appcompat for now.
Browse files Browse the repository at this point in the history
Remove some debugging code.
  • Loading branch information
Brent Schmaltz committed Sep 6, 2023
1 parent 4f03adb commit 421b72b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build/releaseBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ jobs:
command: 'custom'
projects: 'wilson.sln'
custom: 'msbuild'
arguments: '/r:True /p:Configuration=$(BuildConfiguration) /p:Platform="Any CPU" /verbosity:m /p:SourceLinkCreate=true /p:RunApiCompat=true'
arguments: '/r:True /p:Configuration=$(BuildConfiguration) /p:Platform="Any CPU" /verbosity:m /p:SourceLinkCreate=true'
# arguments: '/r:True /p:Configuration=$(BuildConfiguration) /p:Platform="Any CPU" /verbosity:m /p:SourceLinkCreate=true /p:RunApiCompat=true'

- task: PowerShell@2
displayName: 'Run Tests'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,13 +529,12 @@ internal static string GetStringClaimValueType(string str)
// In a System.Security.Claims.Claim, JsonObjects and JsonArrays will need to be serialized as Json, and the ClaimValueType set to JsonArray or Json.
// A C# type can also be returned, we will return a List<objects> representing the JsonArray or an object representing the JsonObject.
// This will allow for constant time lookup for both scenarios if we store the results in dictionaries.

// We need to have the JwtPayload, JwtHeader, JsonClaimSet all share the same call graph for consistency.
// We need a shared model for adding claims from object for JsonWebToken and JwtSecurityToken
// From getting ClaimValueTypes to setting object types

internal static IDictionary<string, object> CreateClaimsDictionary(byte[] bytes, int length)
{
string utf8 = Encoding.UTF8.GetString(bytes);
Dictionary<string, object> claims = new();
Span<byte> utf8Span = bytes;
Utf8JsonReader reader = new(utf8Span.Slice(0,length));
Expand Down

0 comments on commit 421b72b

Please sign in to comment.