{"action":"created","comment":{"url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/comments/49188708","id":49188708,"diff_hunk":"@@ -19,7 +20,7 @@ public class OAuthIntrospectionOptions : AuthenticationOptions {\n         /// Setting this property is recommended when the authorization\n         /// server issues access tokens for multiple distinct resource servers.\n         /// </summary>\n-        public string Audience { get; set; }\n+        public IList<string> Audiences { get; set; }","path":"src/AspNet.Security.OAuth.Introspection/OAuthIntrospectionOptions.cs","position":13,"original_position":13,"commit_id":"b3678539d8b9088ee05adfaba40ddbfe1241f852","original_commit_id":"b3678539d8b9088ee05adfaba40ddbfe1241f852","user":{"login":"PinpointTownes","id":6998306,"avatar_url":"https://avatars.githubusercontent.com/u/6998306?v=3","gravatar_id":"","url":"https://api.github.com/users/PinpointTownes","html_url":"https://github.com/PinpointTownes","followers_url":"https://api.github.com/users/PinpointTownes/followers","following_url":"https://api.github.com/users/PinpointTownes/following{/other_user}","gists_url":"https://api.github.com/users/PinpointTownes/gists{/gist_id}","starred_url":"https://api.github.com/users/PinpointTownes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PinpointTownes/subscriptions","organizations_url":"https://api.github.com/users/PinpointTownes/orgs","repos_url":"https://api.github.com/users/PinpointTownes/repos","events_url":"https://api.github.com/users/PinpointTownes/events{/privacy}","received_events_url":"https://api.github.com/users/PinpointTownes/received_events","type":"User","site_admin":false},"body":"Please consider removing the setter and assigning a default instance.\r\nUpdating the code documentation to indicate what happens when multiple audiences are set would be great :+1: ","created_at":"2016-01-08T13:43:20Z","updated_at":"2016-01-08T13:43:20Z","html_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/pull/4#discussion_r49188708","pull_request_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/comments/49188708"},"html":{"href":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/pull/4#discussion_r49188708"},"pull_request":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4","id":55459733,"html_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/pull/4","diff_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/pull/4.diff","patch_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/pull/4.patch","issue_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues/4","number":4,"state":"open","locked":false,"title":"support for multiple audiences","user":{"login":"sunsided","id":495335,"avatar_url":"https://avatars.githubusercontent.com/u/495335?v=3","gravatar_id":"","url":"https://api.github.com/users/sunsided","html_url":"https://github.com/sunsided","followers_url":"https://api.github.com/users/sunsided/followers","following_url":"https://api.github.com/users/sunsided/following{/other_user}","gists_url":"https://api.github.com/users/sunsided/gists{/gist_id}","starred_url":"https://api.github.com/users/sunsided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunsided/subscriptions","organizations_url":"https://api.github.com/users/sunsided/orgs","repos_url":"https://api.github.com/users/sunsided/repos","events_url":"https://api.github.com/users/sunsided/events{/privacy}","received_events_url":"https://api.github.com/users/sunsided/received_events","type":"User","site_admin":false},"body":"Added support for multiple valid audiences in both introspection and validation middleware. The audiences are implemented as `IList<string>` (i.e. ordered) so that a priority can be inferred for other uses (e.g. first is default).","created_at":"2016-01-08T13:10:00Z","updated_at":"2016-01-08T13:43:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c42daf91516b6e6c2e6672ad8fdf70dcb57af5f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4/commits","review_comments_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4/comments","review_comment_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues/4/comments","statuses_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/statuses/b3678539d8b9088ee05adfaba40ddbfe1241f852","head":{"label":"sunsided:feature/multiple-audiences","ref":"feature/multiple-audiences","sha":"b3678539d8b9088ee05adfaba40ddbfe1241f852","user":{"login":"sunsided","id":495335,"avatar_url":"https://avatars.githubusercontent.com/u/495335?v=3","gravatar_id":"","url":"https://api.github.com/users/sunsided","html_url":"https://github.com/sunsided","followers_url":"https://api.github.com/users/sunsided/followers","following_url":"https://api.github.com/users/sunsided/following{/other_user}","gists_url":"https://api.github.com/users/sunsided/gists{/gist_id}","starred_url":"https://api.github.com/users/sunsided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunsided/subscriptions","organizations_url":"https://api.github.com/users/sunsided/orgs","repos_url":"https://api.github.com/users/sunsided/repos","events_url":"https://api.github.com/users/sunsided/events{/privacy}","received_events_url":"https://api.github.com/users/sunsided/received_events","type":"User","site_admin":false},"repo":{"id":49271027,"name":"AspNet.Security.OAuth.Extensions","full_name":"sunsided/AspNet.Security.OAuth.Extensions","owner":{"login":"sunsided","id":495335,"avatar_url":"https://avatars.githubusercontent.com/u/495335?v=3","gravatar_id":"","url":"https://api.github.com/users/sunsided","html_url":"https://github.com/sunsided","followers_url":"https://api.github.com/users/sunsided/followers","following_url":"https://api.github.com/users/sunsided/following{/other_user}","gists_url":"https://api.github.com/users/sunsided/gists{/gist_id}","starred_url":"https://api.github.com/users/sunsided/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunsided/subscriptions","organizations_url":"https://api.github.com/users/sunsided/orgs","repos_url":"https://api.github.com/users/sunsided/repos","events_url":"https://api.github.com/users/sunsided/events{/privacy}","received_events_url":"https://api.github.com/users/sunsided/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunsided/AspNet.Security.OAuth.Extensions","description":"OAuth2 extensions for ASP.NET 5","fork":true,"url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions","forks_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/forks","keys_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/teams","hooks_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/hooks","issue_events_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/issues/events{/number}","events_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/events","assignees_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/assignees{/user}","branches_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/branches{/branch}","tags_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/tags","blobs_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/languages","stargazers_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/stargazers","contributors_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/contributors","subscribers_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/subscribers","subscription_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/subscription","commits_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/contents/{+path}","compare_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/merges","archive_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/downloads","issues_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/issues{/number}","pulls_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/labels{/name}","releases_url":"https://api.github.com/repos/sunsided/AspNet.Security.OAuth.Extensions/releases{/id}","created_at":"2016-01-08T12:32:01Z","updated_at":"2016-01-08T12:32:03Z","pushed_at":"2016-01-08T13:05:36Z","git_url":"git://github.com/sunsided/AspNet.Security.OAuth.Extensions.git","ssh_url":"git@github.com:sunsided/AspNet.Security.OAuth.Extensions.git","clone_url":"https://github.com/sunsided/AspNet.Security.OAuth.Extensions.git","svn_url":"https://github.com/sunsided/AspNet.Security.OAuth.Extensions","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"vNext"}},"base":{"label":"aspnet-contrib:vNext","ref":"vNext","sha":"2e063a456082873115884c13fcbbecae3513905a","user":{"login":"aspnet-contrib","id":7998081,"avatar_url":"https://avatars.githubusercontent.com/u/7998081?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet-contrib","html_url":"https://github.com/aspnet-contrib","followers_url":"https://api.github.com/users/aspnet-contrib/followers","following_url":"https://api.github.com/users/aspnet-contrib/following{/other_user}","gists_url":"https://api.github.com/users/aspnet-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet-contrib/subscriptions","organizations_url":"https://api.github.com/users/aspnet-contrib/orgs","repos_url":"https://api.github.com/users/aspnet-contrib/repos","events_url":"https://api.github.com/users/aspnet-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":47081933,"name":"AspNet.Security.OAuth.Extensions","full_name":"aspnet-contrib/AspNet.Security.OAuth.Extensions","owner":{"login":"aspnet-contrib","id":7998081,"avatar_url":"https://avatars.githubusercontent.com/u/7998081?v=3","gravatar_id":"","url":"https://api.github.com/users/aspnet-contrib","html_url":"https://github.com/aspnet-contrib","followers_url":"https://api.github.com/users/aspnet-contrib/followers","following_url":"https://api.github.com/users/aspnet-contrib/following{/other_user}","gists_url":"https://api.github.com/users/aspnet-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet-contrib/subscriptions","organizations_url":"https://api.github.com/users/aspnet-contrib/orgs","repos_url":"https://api.github.com/users/aspnet-contrib/repos","events_url":"https://api.github.com/users/aspnet-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions","description":"OAuth2 extensions for ASP.NET 5","fork":false,"url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions","forks_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/forks","keys_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/teams","hooks_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/hooks","issue_events_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/events","assignees_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/tags","blobs_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/languages","stargazers_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/stargazers","contributors_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/contributors","subscribers_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/subscribers","subscription_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/subscription","commits_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/merges","archive_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/downloads","issues_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/labels{/name}","releases_url":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/releases{/id}","created_at":"2015-11-29T21:55:22Z","updated_at":"2015-12-29T03:24:37Z","pushed_at":"2016-01-08T13:10:00Z","git_url":"git://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions.git","ssh_url":"git@github.com:aspnet-contrib/AspNet.Security.OAuth.Extensions.git","clone_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions.git","svn_url":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions","homepage":null,"size":46,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":2,"default_branch":"vNext"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4"},"html":{"href":"https://github.com/aspnet-contrib/AspNet.Security.OAuth.Extensions/pull/4"},"issue":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues/4"},"comments":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet-contrib/AspNet.Security.OAuth.Extensions/statuses/b3678539d8b9088ee05adfaba40ddbfe1241f852"}}}}