{"push_id":678101680,"size":4,"distinct_size":4,"ref":"refs/heads/dev","head":"22e7067fe01b5283c61586af0c15c47c157e091a","before":"0496963becff7f1187a40743e7068562dad7d7dc","commits":[{"sha":"328cbdc1be9b532e589d9e65ae9ebad71df13ff7","author":{"email":"d24fb533f233a387202e9db7a62bf3e384bb498a@gmail.com","name":"Ryan Meyer"},"message":"JwtPayload.Claims broken in Mono\n\nIn Windows, JwtPayload.Claims works fine. If a JWT claim has an array of strings, for example, \"scope\": [\"openid\", \"email\", \"profiles\"], it decomposes them fine. One claim is turned into three.\r\n\r\nWith Mono however (4.0.1), the claim value is treated as an ArrayList, so it doesn't match IEnumerable and thus falls through to being serialized as JSON.\r\n\r\nThis PR works on Mono and is pretty simple. I just added a check for the ArrayList type and then mimicked the IEnumerable decomposition.\r\n\r\nIf it's too big of a change, I'm at least hoping it starts a discussion on how to fix claims for use with Mono.","distinct":true,"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/commits/328cbdc1be9b532e589d9e65ae9ebad71df13ff7"},{"sha":"15ea915708955571c7317959b68cd152f0d99c2c","author":{"email":"d24fb533f233a387202e9db7a62bf3e384bb498a@gmail.com","name":"Ryan Meyer"},"message":"Add test for claim decomposition when array\n\nWhen we have a claim like this:\r\n\r\n```\r\n\"scope\", [\"openid\", \"email\", \"profile\"]\r\n```\r\n\r\nIt should be decomposed into three distinct claims with the name scope and respective values \"openid\", \"email\" and \"profile\".","distinct":true,"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/commits/15ea915708955571c7317959b68cd152f0d99c2c"},{"sha":"742dab8dc361a82925b7fad46af3930b0eb1a7a1","author":{"email":"d24fb533f233a387202e9db7a62bf3e384bb498a@gmail.com","name":"Ryan Meyer"},"message":"Refactor mono test. Explicitly use ArrayList","distinct":true,"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/commits/742dab8dc361a82925b7fad46af3930b0eb1a7a1"},{"sha":"22e7067fe01b5283c61586af0c15c47c157e091a","author":{"email":"f962f420f3bd345be9668a1034b3afe1dcc399d8@hotmail.com","name":"BrentSchmaltz"},"message":"Merge pull request #161 from ryan1234/patch-1\n\nJwtPayload.Claims broken in Mono","distinct":true,"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/commits/22e7067fe01b5283c61586af0c15c47c157e091a"}]}