{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/comments/52541020","id":52541020,"diff_hunk":"@@ -429,13 +341,11 @@ internal byte[] GetOutgoingBlob(byte[] incomingBlob, bool throwOnError, out Inte\n                 if (!_isServer)\n                 {\n                     // client session\n-                    statusCode = (Interop.SecurityStatus)SSPIWrapper.InitializeSecurityContext(\n-                        GlobalSSPI.SSPIAuth,\n+                    statusCode = NegoState.InitializeSecurityContext(","path":"src/System.Net.Security/src/System/Net/NTAuthentication.cs","position":279,"original_position":279,"commit_id":"c4fd392bc12f525eca1e938857299e41879ffae7","original_commit_id":"c4fd392bc12f525eca1e938857299e41879ffae7","user":{"login":"kkurni","id":698547,"avatar_url":"https://avatars.githubusercontent.com/u/698547?v=3","gravatar_id":"","url":"https://api.github.com/users/kkurni","html_url":"https://github.com/kkurni","followers_url":"https://api.github.com/users/kkurni/followers","following_url":"https://api.github.com/users/kkurni/following{/other_user}","gists_url":"https://api.github.com/users/kkurni/gists{/gist_id}","starred_url":"https://api.github.com/users/kkurni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkurni/subscriptions","organizations_url":"https://api.github.com/users/kkurni/orgs","repos_url":"https://api.github.com/users/kkurni/repos","events_url":"https://api.github.com/users/kkurni/events{/privacy}","received_events_url":"https://api.github.com/users/kkurni/received_events","type":"User","site_admin":false},"body":"Why NegoState depends on NTAuthentication as a context, and NTAuthentication also reference back to NegoState ?","created_at":"2016-02-10T23:01:12Z","updated_at":"2016-02-10T23:01:12Z","html_url":"https://github.com/dotnet/corefx/pull/5773#discussion_r52541020","pull_request_url":"https://api.github.com/repos/dotnet/corefx/pulls/5773","_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments/52541020"},"html":{"href":"https://github.com/dotnet/corefx/pull/5773#discussion_r52541020"},"pull_request":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5773"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/5773","id":57622724,"html_url":"https://github.com/dotnet/corefx/pull/5773","diff_url":"https://github.com/dotnet/corefx/pull/5773.diff","patch_url":"https://github.com/dotnet/corefx/pull/5773.patch","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/5773","number":5773,"state":"open","locked":false,"title":"Implementing NegoState.Unix.cs","user":{"login":"shrutigarg","id":13743289,"avatar_url":"https://avatars.githubusercontent.com/u/13743289?v=3","gravatar_id":"","url":"https://api.github.com/users/shrutigarg","html_url":"https://github.com/shrutigarg","followers_url":"https://api.github.com/users/shrutigarg/followers","following_url":"https://api.github.com/users/shrutigarg/following{/other_user}","gists_url":"https://api.github.com/users/shrutigarg/gists{/gist_id}","starred_url":"https://api.github.com/users/shrutigarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrutigarg/subscriptions","organizations_url":"https://api.github.com/users/shrutigarg/orgs","repos_url":"https://api.github.com/users/shrutigarg/repos","events_url":"https://api.github.com/users/shrutigarg/events{/privacy}","received_events_url":"https://api.github.com/users/shrutigarg/received_events","type":"User","site_admin":false},"body":"It includes the implementation on NegoState.Unix pal on top of the common refactoring changes( #5581) \r\n Please refer to the Commit 4 of this PR for reviewing.\r\n\r\nIncludes:\r\n Implementation of NegoState.Unix.cs Methods.\r\n Implementaion of SafeHandles to be used.\r\n\r\nTested locally as Linux client with windows server.\r\n\r\ncc: @stephentoub , @bartonjs @vijaykota \r\n","created_at":"2016-01-29T09:14:39Z","updated_at":"2016-02-10T23:01:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af864ffe28b791e0f68d851be12962ecce3f4904","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/corefx/pulls/5773/commits","review_comments_url":"https://api.github.com/repos/dotnet/corefx/pulls/5773/comments","review_comment_url":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/5773/comments","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/c4fd392bc12f525eca1e938857299e41879ffae7","head":{"label":"shrutigarg:devNegoUnix","ref":"devNegoUnix","sha":"c4fd392bc12f525eca1e938857299e41879ffae7","user":{"login":"shrutigarg","id":13743289,"avatar_url":"https://avatars.githubusercontent.com/u/13743289?v=3","gravatar_id":"","url":"https://api.github.com/users/shrutigarg","html_url":"https://github.com/shrutigarg","followers_url":"https://api.github.com/users/shrutigarg/followers","following_url":"https://api.github.com/users/shrutigarg/following{/other_user}","gists_url":"https://api.github.com/users/shrutigarg/gists{/gist_id}","starred_url":"https://api.github.com/users/shrutigarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrutigarg/subscriptions","organizations_url":"https://api.github.com/users/shrutigarg/orgs","repos_url":"https://api.github.com/users/shrutigarg/repos","events_url":"https://api.github.com/users/shrutigarg/events{/privacy}","received_events_url":"https://api.github.com/users/shrutigarg/received_events","type":"User","site_admin":false},"repo":{"id":40525181,"name":"corefx","full_name":"shrutigarg/corefx","owner":{"login":"shrutigarg","id":13743289,"avatar_url":"https://avatars.githubusercontent.com/u/13743289?v=3","gravatar_id":"","url":"https://api.github.com/users/shrutigarg","html_url":"https://github.com/shrutigarg","followers_url":"https://api.github.com/users/shrutigarg/followers","following_url":"https://api.github.com/users/shrutigarg/following{/other_user}","gists_url":"https://api.github.com/users/shrutigarg/gists{/gist_id}","starred_url":"https://api.github.com/users/shrutigarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrutigarg/subscriptions","organizations_url":"https://api.github.com/users/shrutigarg/orgs","repos_url":"https://api.github.com/users/shrutigarg/repos","events_url":"https://api.github.com/users/shrutigarg/events{/privacy}","received_events_url":"https://api.github.com/users/shrutigarg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shrutigarg/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.","fork":true,"url":"https://api.github.com/repos/shrutigarg/corefx","forks_url":"https://api.github.com/repos/shrutigarg/corefx/forks","keys_url":"https://api.github.com/repos/shrutigarg/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shrutigarg/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shrutigarg/corefx/teams","hooks_url":"https://api.github.com/repos/shrutigarg/corefx/hooks","issue_events_url":"https://api.github.com/repos/shrutigarg/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/shrutigarg/corefx/events","assignees_url":"https://api.github.com/repos/shrutigarg/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/shrutigarg/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/shrutigarg/corefx/tags","blobs_url":"https://api.github.com/repos/shrutigarg/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shrutigarg/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shrutigarg/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/shrutigarg/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shrutigarg/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/shrutigarg/corefx/languages","stargazers_url":"https://api.github.com/repos/shrutigarg/corefx/stargazers","contributors_url":"https://api.github.com/repos/shrutigarg/corefx/contributors","subscribers_url":"https://api.github.com/repos/shrutigarg/corefx/subscribers","subscription_url":"https://api.github.com/repos/shrutigarg/corefx/subscription","commits_url":"https://api.github.com/repos/shrutigarg/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/shrutigarg/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/shrutigarg/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/shrutigarg/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/shrutigarg/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/shrutigarg/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shrutigarg/corefx/merges","archive_url":"https://api.github.com/repos/shrutigarg/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shrutigarg/corefx/downloads","issues_url":"https://api.github.com/repos/shrutigarg/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/shrutigarg/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/shrutigarg/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/shrutigarg/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shrutigarg/corefx/labels{/name}","releases_url":"https://api.github.com/repos/shrutigarg/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/shrutigarg/corefx/deployments","created_at":"2015-08-11T06:22:30Z","updated_at":"2015-08-11T06:22:48Z","pushed_at":"2016-02-09T15:18:23Z","git_url":"git://github.com/shrutigarg/corefx.git","ssh_url":"git@github.com:shrutigarg/corefx.git","clone_url":"https://github.com/shrutigarg/corefx.git","svn_url":"https://github.com/shrutigarg/corefx","homepage":"http://dotnet.github.io/core/","size":51911,"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":"master"}},"base":{"label":"dotnet:dev/negotiatestream","ref":"dev/negotiatestream","sha":"e0e94b1d4ac854b0dd1ef3725d8492bcfa0229c9","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":26295345,"name":"corefx","full_name":"dotnet/corefx","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/corefx","description":"This repo contains the .NET Core foundational libraries, called CoreFX. It includes classes for collections, file systems, console, XML, async and many others.","fork":false,"url":"https://api.github.com/repos/dotnet/corefx","forks_url":"https://api.github.com/repos/dotnet/corefx/forks","keys_url":"https://api.github.com/repos/dotnet/corefx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/corefx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/corefx/teams","hooks_url":"https://api.github.com/repos/dotnet/corefx/hooks","issue_events_url":"https://api.github.com/repos/dotnet/corefx/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/corefx/events","assignees_url":"https://api.github.com/repos/dotnet/corefx/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/corefx/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/corefx/tags","blobs_url":"https://api.github.com/repos/dotnet/corefx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/corefx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/corefx/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/corefx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/corefx/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/corefx/languages","stargazers_url":"https://api.github.com/repos/dotnet/corefx/stargazers","contributors_url":"https://api.github.com/repos/dotnet/corefx/contributors","subscribers_url":"https://api.github.com/repos/dotnet/corefx/subscribers","subscription_url":"https://api.github.com/repos/dotnet/corefx/subscription","commits_url":"https://api.github.com/repos/dotnet/corefx/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/corefx/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/corefx/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/corefx/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/corefx/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/corefx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/corefx/merges","archive_url":"https://api.github.com/repos/dotnet/corefx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/corefx/downloads","issues_url":"https://api.github.com/repos/dotnet/corefx/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/corefx/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/corefx/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/corefx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/corefx/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/corefx/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/corefx/deployments","created_at":"2014-11-06T23:42:48Z","updated_at":"2016-02-10T21:04:36Z","pushed_at":"2016-02-10T22:49:11Z","git_url":"git://github.com/dotnet/corefx.git","ssh_url":"git@github.com:dotnet/corefx.git","clone_url":"https://github.com/dotnet/corefx.git","svn_url":"https://github.com/dotnet/corefx","homepage":"http://dotnet.github.io/","size":62576,"stargazers_count":9097,"watchers_count":9097,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2114,"mirror_url":null,"open_issues_count":825,"forks":2114,"open_issues":825,"watchers":9097,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5773"},"html":{"href":"https://github.com/dotnet/corefx/pull/5773"},"issue":{"href":"https://api.github.com/repos/dotnet/corefx/issues/5773"},"comments":{"href":"https://api.github.com/repos/dotnet/corefx/issues/5773/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5773/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/corefx/pulls/5773/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/corefx/statuses/c4fd392bc12f525eca1e938857299e41879ffae7"}}}}