{"action":"created","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95/events","html_url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95","id":57997561,"number":95,"title":"JwtSecurityTokenHandler needs a way to provide claim filtering / mapping on an instance basis.","user":{"login":"brentschmaltz","id":3172421,"avatar_url":"https://avatars.githubusercontent.com/u/3172421?v=3","gravatar_id":"","url":"https://api.github.com/users/brentschmaltz","html_url":"https://github.com/brentschmaltz","followers_url":"https://api.github.com/users/brentschmaltz/followers","following_url":"https://api.github.com/users/brentschmaltz/following{/other_user}","gists_url":"https://api.github.com/users/brentschmaltz/gists{/gist_id}","starred_url":"https://api.github.com/users/brentschmaltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentschmaltz/subscriptions","organizations_url":"https://api.github.com/users/brentschmaltz/orgs","repos_url":"https://api.github.com/users/brentschmaltz/repos","events_url":"https://api.github.com/users/brentschmaltz/events{/privacy}","received_events_url":"https://api.github.com/users/brentschmaltz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/Fix%204.x","name":"Fix 4.x","color":"bfd4f2"},{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/Fix%205.x","name":"Fix 5.x","color":"207de5"},{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/labels/User%20reported","name":"User reported","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"tushargupta51","id":803796,"avatar_url":"https://avatars.githubusercontent.com/u/803796?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargupta51","html_url":"https://github.com/tushargupta51","followers_url":"https://api.github.com/users/tushargupta51/followers","following_url":"https://api.github.com/users/tushargupta51/following{/other_user}","gists_url":"https://api.github.com/users/tushargupta51/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargupta51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargupta51/subscriptions","organizations_url":"https://api.github.com/users/tushargupta51/orgs","repos_url":"https://api.github.com/users/tushargupta51/repos","events_url":"https://api.github.com/users/tushargupta51/events{/privacy}","received_events_url":"https://api.github.com/users/tushargupta51/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2015-02-17T23:11:06Z","updated_at":"2015-06-11T22:11:01Z","closed_at":null,"body":"The current Inbound/OutboundClaimsFilter(TypeMap) are static. This makes it difficult to handle multiple identityproviders etc.\r\nWe need a way to set this on a per instance / provider basis.\r\n\r\nPerhaps:\r\n1. have a static default\r\n2. introduce a property / delegate on TokenValidationParameters for instance processing\r\n"},"comment":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/comments/111289840","html_url":"https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95#issuecomment-111289840","issue_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/95","id":111289840,"user":{"login":"korroz","id":723273,"avatar_url":"https://avatars.githubusercontent.com/u/723273?v=3","gravatar_id":"","url":"https://api.github.com/users/korroz","html_url":"https://github.com/korroz","followers_url":"https://api.github.com/users/korroz/followers","following_url":"https://api.github.com/users/korroz/following{/other_user}","gists_url":"https://api.github.com/users/korroz/gists{/gist_id}","starred_url":"https://api.github.com/users/korroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korroz/subscriptions","organizations_url":"https://api.github.com/users/korroz/orgs","repos_url":"https://api.github.com/users/korroz/repos","events_url":"https://api.github.com/users/korroz/events{/privacy}","received_events_url":"https://api.github.com/users/korroz/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T22:11:01Z","updated_at":"2015-06-11T22:11:01Z","body":"I pushed some commits just now on my [jwt-claim-mapping](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/master...korroz:jwt-claim-mapping) branch. In it the transformation logic has been extracted from `JwtPayload`, so now all transforming business is happening in `JwtSecurityTokenHandler`.\r\n\r\nShould I create a pull request for further discussion? I still think the code could use a review regarding property names and so on before it can be considered for acceptance, or declined in favor of moving transformation to `TokenValidationParameters`. Whichever way you'd like to go."}}