{"action":"created","comment":{"url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/comments/78086309","id":78086309,"diff_hunk":"@@ -0,0 +1,102 @@\n+﻿/*\n+ * Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)\n+ * See https://github.com/openiddict/openiddict-core for more information concerning\n+ * the license and the contributors participating to this project.\n+ */\n+\n+using AspNet.Security.OpenIdConnect.Extensions;\n+using AspNet.Security.OpenIdConnect.Server;\n+using AuthorizationServer.Models;\n+using AuthorizationServer.ViewModels.Shared;\n+using Microsoft.AspNetCore.Authentication;\n+using Microsoft.AspNetCore.Authorization;\n+using Microsoft.AspNetCore.Builder;\n+using Microsoft.AspNetCore.Http.Authentication;\n+using Microsoft.AspNetCore.Identity;\n+using Microsoft.AspNetCore.Mvc;\n+using OpenIddict;\n+using System;","path":"samples/ImplicitFlow/AuthorizationServer/Controllers/AuthorizationController.cs","position":18,"original_position":18,"commit_id":"c5504570ff1fc2d24e50b6a7ff1abad25d9fb207","original_commit_id":"c5504570ff1fc2d24e50b6a7ff1abad25d9fb207","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":"Note for me: System usings should go first.","created_at":"2016-09-08T20:50:19Z","updated_at":"2016-09-08T20:50:19Z","html_url":"https://github.com/openiddict/openiddict-samples/pull/8#discussion_r78086309","pull_request_url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/comments/78086309"},"html":{"href":"https://github.com/openiddict/openiddict-samples/pull/8#discussion_r78086309"},"pull_request":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8","id":78913821,"html_url":"https://github.com/openiddict/openiddict-samples/pull/8","diff_url":"https://github.com/openiddict/openiddict-samples/pull/8.diff","patch_url":"https://github.com/openiddict/openiddict-samples/pull/8.patch","issue_url":"https://api.github.com/repos/openiddict/openiddict-samples/issues/8","number":8,"state":"open","locked":false,"title":"Create an SPA sample.","user":{"login":"shaunluttin","id":2066637,"avatar_url":"https://avatars.githubusercontent.com/u/2066637?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunluttin","html_url":"https://github.com/shaunluttin","followers_url":"https://api.github.com/users/shaunluttin/followers","following_url":"https://api.github.com/users/shaunluttin/following{/other_user}","gists_url":"https://api.github.com/users/shaunluttin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunluttin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunluttin/subscriptions","organizations_url":"https://api.github.com/users/shaunluttin/orgs","repos_url":"https://api.github.com/users/shaunluttin/repos","events_url":"https://api.github.com/users/shaunluttin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunluttin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-26T19:51:09Z","updated_at":"2016-09-08T20:50:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8eee3ac3d36e4b2fe5f52c1ea5b5f61e5811b0e","assignee":{"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},"assignees":[{"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}],"milestone":null,"commits_url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8/commits","review_comments_url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8/comments","review_comment_url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openiddict/openiddict-samples/issues/8/comments","statuses_url":"https://api.github.com/repos/openiddict/openiddict-samples/statuses/c5504570ff1fc2d24e50b6a7ff1abad25d9fb207","head":{"label":"shaunluttin:spa-sample","ref":"spa-sample","sha":"c5504570ff1fc2d24e50b6a7ff1abad25d9fb207","user":{"login":"shaunluttin","id":2066637,"avatar_url":"https://avatars.githubusercontent.com/u/2066637?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunluttin","html_url":"https://github.com/shaunluttin","followers_url":"https://api.github.com/users/shaunluttin/followers","following_url":"https://api.github.com/users/shaunluttin/following{/other_user}","gists_url":"https://api.github.com/users/shaunluttin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunluttin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunluttin/subscriptions","organizations_url":"https://api.github.com/users/shaunluttin/orgs","repos_url":"https://api.github.com/users/shaunluttin/repos","events_url":"https://api.github.com/users/shaunluttin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunluttin/received_events","type":"User","site_admin":false},"repo":{"id":63961443,"name":"openiddict-samples","full_name":"shaunluttin/openiddict-samples","owner":{"login":"shaunluttin","id":2066637,"avatar_url":"https://avatars.githubusercontent.com/u/2066637?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunluttin","html_url":"https://github.com/shaunluttin","followers_url":"https://api.github.com/users/shaunluttin/followers","following_url":"https://api.github.com/users/shaunluttin/following{/other_user}","gists_url":"https://api.github.com/users/shaunluttin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunluttin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunluttin/subscriptions","organizations_url":"https://api.github.com/users/shaunluttin/orgs","repos_url":"https://api.github.com/users/shaunluttin/repos","events_url":"https://api.github.com/users/shaunluttin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunluttin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shaunluttin/openiddict-samples","description":"ASP.NET Core/JavaScript samples for OpenIddict","fork":true,"url":"https://api.github.com/repos/shaunluttin/openiddict-samples","forks_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/forks","keys_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/teams","hooks_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/hooks","issue_events_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/issues/events{/number}","events_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/events","assignees_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/assignees{/user}","branches_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/branches{/branch}","tags_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/tags","blobs_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/languages","stargazers_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/stargazers","contributors_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/contributors","subscribers_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/subscribers","subscription_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/subscription","commits_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/contents/{+path}","compare_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/merges","archive_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/downloads","issues_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/issues{/number}","pulls_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/labels{/name}","releases_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/releases{/id}","deployments_url":"https://api.github.com/repos/shaunluttin/openiddict-samples/deployments","created_at":"2016-07-22T14:54:17Z","updated_at":"2016-07-22T14:54:18Z","pushed_at":"2016-09-07T01:02:44Z","git_url":"git://github.com/shaunluttin/openiddict-samples.git","ssh_url":"git@github.com:shaunluttin/openiddict-samples.git","clone_url":"https://github.com/shaunluttin/openiddict-samples.git","svn_url":"https://github.com/shaunluttin/openiddict-samples","homepage":null,"size":2620,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","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":"master"}},"base":{"label":"openiddict:master","ref":"master","sha":"f3db5ee04d4737c669b6941722b10e75956422f2","user":{"login":"openiddict","id":13908567,"avatar_url":"https://avatars.githubusercontent.com/u/13908567?v=3","gravatar_id":"","url":"https://api.github.com/users/openiddict","html_url":"https://github.com/openiddict","followers_url":"https://api.github.com/users/openiddict/followers","following_url":"https://api.github.com/users/openiddict/following{/other_user}","gists_url":"https://api.github.com/users/openiddict/gists{/gist_id}","starred_url":"https://api.github.com/users/openiddict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openiddict/subscriptions","organizations_url":"https://api.github.com/users/openiddict/orgs","repos_url":"https://api.github.com/users/openiddict/repos","events_url":"https://api.github.com/users/openiddict/events{/privacy}","received_events_url":"https://api.github.com/users/openiddict/received_events","type":"Organization","site_admin":false},"repo":{"id":60351219,"name":"openiddict-samples","full_name":"openiddict/openiddict-samples","owner":{"login":"openiddict","id":13908567,"avatar_url":"https://avatars.githubusercontent.com/u/13908567?v=3","gravatar_id":"","url":"https://api.github.com/users/openiddict","html_url":"https://github.com/openiddict","followers_url":"https://api.github.com/users/openiddict/followers","following_url":"https://api.github.com/users/openiddict/following{/other_user}","gists_url":"https://api.github.com/users/openiddict/gists{/gist_id}","starred_url":"https://api.github.com/users/openiddict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openiddict/subscriptions","organizations_url":"https://api.github.com/users/openiddict/orgs","repos_url":"https://api.github.com/users/openiddict/repos","events_url":"https://api.github.com/users/openiddict/events{/privacy}","received_events_url":"https://api.github.com/users/openiddict/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openiddict/openiddict-samples","description":"ASP.NET Core/JavaScript samples for OpenIddict","fork":false,"url":"https://api.github.com/repos/openiddict/openiddict-samples","forks_url":"https://api.github.com/repos/openiddict/openiddict-samples/forks","keys_url":"https://api.github.com/repos/openiddict/openiddict-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openiddict/openiddict-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openiddict/openiddict-samples/teams","hooks_url":"https://api.github.com/repos/openiddict/openiddict-samples/hooks","issue_events_url":"https://api.github.com/repos/openiddict/openiddict-samples/issues/events{/number}","events_url":"https://api.github.com/repos/openiddict/openiddict-samples/events","assignees_url":"https://api.github.com/repos/openiddict/openiddict-samples/assignees{/user}","branches_url":"https://api.github.com/repos/openiddict/openiddict-samples/branches{/branch}","tags_url":"https://api.github.com/repos/openiddict/openiddict-samples/tags","blobs_url":"https://api.github.com/repos/openiddict/openiddict-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openiddict/openiddict-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openiddict/openiddict-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/openiddict/openiddict-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openiddict/openiddict-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/openiddict/openiddict-samples/languages","stargazers_url":"https://api.github.com/repos/openiddict/openiddict-samples/stargazers","contributors_url":"https://api.github.com/repos/openiddict/openiddict-samples/contributors","subscribers_url":"https://api.github.com/repos/openiddict/openiddict-samples/subscribers","subscription_url":"https://api.github.com/repos/openiddict/openiddict-samples/subscription","commits_url":"https://api.github.com/repos/openiddict/openiddict-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/openiddict/openiddict-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/openiddict/openiddict-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/openiddict/openiddict-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/openiddict/openiddict-samples/contents/{+path}","compare_url":"https://api.github.com/repos/openiddict/openiddict-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openiddict/openiddict-samples/merges","archive_url":"https://api.github.com/repos/openiddict/openiddict-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openiddict/openiddict-samples/downloads","issues_url":"https://api.github.com/repos/openiddict/openiddict-samples/issues{/number}","pulls_url":"https://api.github.com/repos/openiddict/openiddict-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/openiddict/openiddict-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/openiddict/openiddict-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openiddict/openiddict-samples/labels{/name}","releases_url":"https://api.github.com/repos/openiddict/openiddict-samples/releases{/id}","deployments_url":"https://api.github.com/repos/openiddict/openiddict-samples/deployments","created_at":"2016-06-03T13:50:04Z","updated_at":"2016-08-18T01:16:48Z","pushed_at":"2016-09-06T20:58:11Z","git_url":"git://github.com/openiddict/openiddict-samples.git","ssh_url":"git@github.com:openiddict/openiddict-samples.git","clone_url":"https://github.com/openiddict/openiddict-samples.git","svn_url":"https://github.com/openiddict/openiddict-samples","homepage":null,"size":7188,"stargazers_count":5,"watchers_count":5,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8"},"html":{"href":"https://github.com/openiddict/openiddict-samples/pull/8"},"issue":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/issues/8"},"comments":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/openiddict/openiddict-samples/statuses/c5504570ff1fc2d24e50b6a7ff1abad25d9fb207"}}}}
{"actor":{"display_login":"PinpointTownes"}}