{"action":"created","comment":{"url":"https://api.github.com/repos/getyoti/php/pulls/comments/122174628","pull_request_review_id":44265147,"id":122174628,"diff_hunk":"@@ -1,21 +1,43 @@\n <?php\n require_once __DIR__ . '/../src/boot.php';\n-\n+require_once './vendor/autoload.php';\n // token should be receieved from yoti server.\n-$encryptedYotiToken = file_get_contents(__DIR__ . '/../src/sample-data/connect-token.txt');\n+//$encryptedYotiToken = file_get_contents(__DIR__ . '/../src/sample-data/connect-token.txt');\n //$encryptedYotiToken =\"k7pQhQq4FOrK-7EagyMlKgFS-un68M3IfAO_pjm3Q3fK3fUaF7bgulrTNSetwP7IIUU7BrkU5v9HQZyG7IKAjkxGCfw7zrqeDkGfO0GT81o1N_hWNWL-7KhEBewIfyFpUpDH_Q41Xj6n9-EbhPdCGe0pnzUYaUaVsS8S0EpmcbwnMN9IQbN_RnrrmHFACKRN66Y3sTmq6gtfptBtoaz6Mx_PQZUQJGNiKXg5juoBhjZWMS7ypxUoZLvmvd-Ph_mnJ1uOqsetZLUg0iC_qQQsy2mFjrnJBD6QtkiFmhtSSmeYI5c7C3OClYkG4sBuZOy46cR4Wj06v7dPc1DxpyKYfw==\";\n \n-$encryptedYotiToken = \"MJtM8JHt27_cJPL9OoOURInyxzBNZVtvfyIolUaTL8hg2LULnjNSUdhhrzBt86o1QdaH0RGZZ_GVEUB_ZUPKHoe2aBugfGjI62PA9g4o_9y4Ie4CXiGMP2uUb1v_6FDp28yZHiHAC4ib8O97_qfBC5gLUQCmBtc8C-qL9H7H71Hp_PE_uDfveM6grfwfA9bIBLpGTjVRVWVk3Hl4kwkCxtRHh2vh7kRImRYcXBDjd8T0R_jAvYfrUAom7HX9aOprD0SzMOPpF78TBiqD_iWZAm1QZvq_tq_3mVq2Oi656V38iGCpv2oCHtJBJwS0g0upY3tQclLt8Y_RcGdfYWBkMw==\";\n+//$encryptedYotiToken = \"MJtM8JHt27_cJPL9OoOURInyxzBNZVtvfyIolUaTL8hg2LULnjNSUdhhrzBt86o1QdaH0RGZZ_GVEUB_ZUPKHoe2aBugfGjI62PA9g4o_9y4Ie4CXiGMP2uUb1v_6FDp28yZHiHAC4ib8O97_qfBC5gLUQCmBtc8C-qL9H7H71Hp_PE_uDfveM6grfwfA9bIBLpGTjVRVWVk3Hl4kwkCxtRHh2vh7kRImRYcXBDjd8T0R_jAvYfrUAom7HX9aOprD0SzMOPpF78TBiqD_iWZAm1QZvq_tq_3mVq2Oi656V38iGCpv2oCHtJBJwS0g0upY3tQclLt8Y_RcGdfYWBkMw==\";\n \n $config = [","path":"example/index.php","position":13,"original_position":13,"commit_id":"bbf89a082846fd2ea259023cd3ed73d3209c5cea","original_commit_id":"bbf89a082846fd2ea259023cd3ed73d3209c5cea","user":{"login":"vassyz","id":1636476,"avatar_url":"https://avatars2.githubusercontent.com/u/1636476?v=3","gravatar_id":"","url":"https://api.github.com/users/vassyz","html_url":"https://github.com/vassyz","followers_url":"https://api.github.com/users/vassyz/followers","following_url":"https://api.github.com/users/vassyz/following{/other_user}","gists_url":"https://api.github.com/users/vassyz/gists{/gist_id}","starred_url":"https://api.github.com/users/vassyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vassyz/subscriptions","organizations_url":"https://api.github.com/users/vassyz/orgs","repos_url":"https://api.github.com/users/vassyz/repos","events_url":"https://api.github.com/users/vassyz/events{/privacy}","received_events_url":"https://api.github.com/users/vassyz/received_events","type":"User","site_admin":false},"body":"Don't put a real SDK ID in, and rename `The Greatest Drupal 7 Plugin On Gods Green Earth-access-security.pem` to something more formal.","created_at":"2017-06-15T10:46:17Z","updated_at":"2017-06-15T10:52:25Z","html_url":"https://github.com/getyoti/php/pull/3#discussion_r122174628","pull_request_url":"https://api.github.com/repos/getyoti/php/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/getyoti/php/pulls/comments/122174628"},"html":{"href":"https://github.com/getyoti/php/pull/3#discussion_r122174628"},"pull_request":{"href":"https://api.github.com/repos/getyoti/php/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/getyoti/php/pulls/3","id":125790883,"html_url":"https://github.com/getyoti/php/pull/3","diff_url":"https://github.com/getyoti/php/pull/3.diff","patch_url":"https://github.com/getyoti/php/pull/3.patch","issue_url":"https://api.github.com/repos/getyoti/php/issues/3","number":3,"state":"open","locked":false,"title":"Update Index.php page","user":{"login":"KiranBali","id":26406329,"avatar_url":"https://avatars1.githubusercontent.com/u/26406329?v=3","gravatar_id":"","url":"https://api.github.com/users/KiranBali","html_url":"https://github.com/KiranBali","followers_url":"https://api.github.com/users/KiranBali/followers","following_url":"https://api.github.com/users/KiranBali/following{/other_user}","gists_url":"https://api.github.com/users/KiranBali/gists{/gist_id}","starred_url":"https://api.github.com/users/KiranBali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiranBali/subscriptions","organizations_url":"https://api.github.com/users/KiranBali/orgs","repos_url":"https://api.github.com/users/KiranBali/repos","events_url":"https://api.github.com/users/KiranBali/events{/privacy}","received_events_url":"https://api.github.com/users/KiranBali/received_events","type":"User","site_admin":false},"body":"Hi Vas,\r\nAs discussed, changes made:\r\n1) Added require once autoload\r\n2) Added commentary\r\n3) Changed profile attribute method to fixed\r\n4) Added profile page\r\n\r\nThanks,\r\nKiran","created_at":"2017-06-15T10:31:17Z","updated_at":"2017-06-15T10:52:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e96f84848cfe73ef60c0a411974a3fa819814651","assignee":{"login":"KiranBali","id":26406329,"avatar_url":"https://avatars1.githubusercontent.com/u/26406329?v=3","gravatar_id":"","url":"https://api.github.com/users/KiranBali","html_url":"https://github.com/KiranBali","followers_url":"https://api.github.com/users/KiranBali/followers","following_url":"https://api.github.com/users/KiranBali/following{/other_user}","gists_url":"https://api.github.com/users/KiranBali/gists{/gist_id}","starred_url":"https://api.github.com/users/KiranBali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiranBali/subscriptions","organizations_url":"https://api.github.com/users/KiranBali/orgs","repos_url":"https://api.github.com/users/KiranBali/repos","events_url":"https://api.github.com/users/KiranBali/events{/privacy}","received_events_url":"https://api.github.com/users/KiranBali/received_events","type":"User","site_admin":false},"assignees":[{"login":"KiranBali","id":26406329,"avatar_url":"https://avatars1.githubusercontent.com/u/26406329?v=3","gravatar_id":"","url":"https://api.github.com/users/KiranBali","html_url":"https://github.com/KiranBali","followers_url":"https://api.github.com/users/KiranBali/followers","following_url":"https://api.github.com/users/KiranBali/following{/other_user}","gists_url":"https://api.github.com/users/KiranBali/gists{/gist_id}","starred_url":"https://api.github.com/users/KiranBali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiranBali/subscriptions","organizations_url":"https://api.github.com/users/KiranBali/orgs","repos_url":"https://api.github.com/users/KiranBali/repos","events_url":"https://api.github.com/users/KiranBali/events{/privacy}","received_events_url":"https://api.github.com/users/KiranBali/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/getyoti/php/pulls/3/commits","review_comments_url":"https://api.github.com/repos/getyoti/php/pulls/3/comments","review_comment_url":"https://api.github.com/repos/getyoti/php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getyoti/php/issues/3/comments","statuses_url":"https://api.github.com/repos/getyoti/php/statuses/bbf89a082846fd2ea259023cd3ed73d3209c5cea","head":{"label":"KiranBali:patch-1","ref":"patch-1","sha":"bbf89a082846fd2ea259023cd3ed73d3209c5cea","user":{"login":"KiranBali","id":26406329,"avatar_url":"https://avatars1.githubusercontent.com/u/26406329?v=3","gravatar_id":"","url":"https://api.github.com/users/KiranBali","html_url":"https://github.com/KiranBali","followers_url":"https://api.github.com/users/KiranBali/followers","following_url":"https://api.github.com/users/KiranBali/following{/other_user}","gists_url":"https://api.github.com/users/KiranBali/gists{/gist_id}","starred_url":"https://api.github.com/users/KiranBali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiranBali/subscriptions","organizations_url":"https://api.github.com/users/KiranBali/orgs","repos_url":"https://api.github.com/users/KiranBali/repos","events_url":"https://api.github.com/users/KiranBali/events{/privacy}","received_events_url":"https://api.github.com/users/KiranBali/received_events","type":"User","site_admin":false},"repo":{"id":94348975,"name":"php","full_name":"KiranBali/php","owner":{"login":"KiranBali","id":26406329,"avatar_url":"https://avatars1.githubusercontent.com/u/26406329?v=3","gravatar_id":"","url":"https://api.github.com/users/KiranBali","html_url":"https://github.com/KiranBali","followers_url":"https://api.github.com/users/KiranBali/followers","following_url":"https://api.github.com/users/KiranBali/following{/other_user}","gists_url":"https://api.github.com/users/KiranBali/gists{/gist_id}","starred_url":"https://api.github.com/users/KiranBali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiranBali/subscriptions","organizations_url":"https://api.github.com/users/KiranBali/orgs","repos_url":"https://api.github.com/users/KiranBali/repos","events_url":"https://api.github.com/users/KiranBali/events{/privacy}","received_events_url":"https://api.github.com/users/KiranBali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KiranBali/php","description":null,"fork":true,"url":"https://api.github.com/repos/KiranBali/php","forks_url":"https://api.github.com/repos/KiranBali/php/forks","keys_url":"https://api.github.com/repos/KiranBali/php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KiranBali/php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KiranBali/php/teams","hooks_url":"https://api.github.com/repos/KiranBali/php/hooks","issue_events_url":"https://api.github.com/repos/KiranBali/php/issues/events{/number}","events_url":"https://api.github.com/repos/KiranBali/php/events","assignees_url":"https://api.github.com/repos/KiranBali/php/assignees{/user}","branches_url":"https://api.github.com/repos/KiranBali/php/branches{/branch}","tags_url":"https://api.github.com/repos/KiranBali/php/tags","blobs_url":"https://api.github.com/repos/KiranBali/php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KiranBali/php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KiranBali/php/git/refs{/sha}","trees_url":"https://api.github.com/repos/KiranBali/php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KiranBali/php/statuses/{sha}","languages_url":"https://api.github.com/repos/KiranBali/php/languages","stargazers_url":"https://api.github.com/repos/KiranBali/php/stargazers","contributors_url":"https://api.github.com/repos/KiranBali/php/contributors","subscribers_url":"https://api.github.com/repos/KiranBali/php/subscribers","subscription_url":"https://api.github.com/repos/KiranBali/php/subscription","commits_url":"https://api.github.com/repos/KiranBali/php/commits{/sha}","git_commits_url":"https://api.github.com/repos/KiranBali/php/git/commits{/sha}","comments_url":"https://api.github.com/repos/KiranBali/php/comments{/number}","issue_comment_url":"https://api.github.com/repos/KiranBali/php/issues/comments{/number}","contents_url":"https://api.github.com/repos/KiranBali/php/contents/{+path}","compare_url":"https://api.github.com/repos/KiranBali/php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KiranBali/php/merges","archive_url":"https://api.github.com/repos/KiranBali/php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KiranBali/php/downloads","issues_url":"https://api.github.com/repos/KiranBali/php/issues{/number}","pulls_url":"https://api.github.com/repos/KiranBali/php/pulls{/number}","milestones_url":"https://api.github.com/repos/KiranBali/php/milestones{/number}","notifications_url":"https://api.github.com/repos/KiranBali/php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KiranBali/php/labels{/name}","releases_url":"https://api.github.com/repos/KiranBali/php/releases{/id}","deployments_url":"https://api.github.com/repos/KiranBali/php/deployments","created_at":"2017-06-14T15:59:19Z","updated_at":"2017-06-14T15:59:21Z","pushed_at":"2017-06-15T10:49:03Z","git_url":"git://github.com/KiranBali/php.git","ssh_url":"git@github.com:KiranBali/php.git","clone_url":"https://github.com/KiranBali/php.git","svn_url":"https://github.com/KiranBali/php","homepage":null,"size":483,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"getyoti:master","ref":"master","sha":"9f773995b8ab32bfa22cbe13a4de4368bf424351","user":{"login":"getyoti","id":19798626,"avatar_url":"https://avatars3.githubusercontent.com/u/19798626?v=3","gravatar_id":"","url":"https://api.github.com/users/getyoti","html_url":"https://github.com/getyoti","followers_url":"https://api.github.com/users/getyoti/followers","following_url":"https://api.github.com/users/getyoti/following{/other_user}","gists_url":"https://api.github.com/users/getyoti/gists{/gist_id}","starred_url":"https://api.github.com/users/getyoti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getyoti/subscriptions","organizations_url":"https://api.github.com/users/getyoti/orgs","repos_url":"https://api.github.com/users/getyoti/repos","events_url":"https://api.github.com/users/getyoti/events{/privacy}","received_events_url":"https://api.github.com/users/getyoti/received_events","type":"Organization","site_admin":false},"repo":{"id":66000225,"name":"php","full_name":"getyoti/php","owner":{"login":"getyoti","id":19798626,"avatar_url":"https://avatars3.githubusercontent.com/u/19798626?v=3","gravatar_id":"","url":"https://api.github.com/users/getyoti","html_url":"https://github.com/getyoti","followers_url":"https://api.github.com/users/getyoti/followers","following_url":"https://api.github.com/users/getyoti/following{/other_user}","gists_url":"https://api.github.com/users/getyoti/gists{/gist_id}","starred_url":"https://api.github.com/users/getyoti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getyoti/subscriptions","organizations_url":"https://api.github.com/users/getyoti/orgs","repos_url":"https://api.github.com/users/getyoti/repos","events_url":"https://api.github.com/users/getyoti/events{/privacy}","received_events_url":"https://api.github.com/users/getyoti/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getyoti/php","description":null,"fork":false,"url":"https://api.github.com/repos/getyoti/php","forks_url":"https://api.github.com/repos/getyoti/php/forks","keys_url":"https://api.github.com/repos/getyoti/php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getyoti/php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getyoti/php/teams","hooks_url":"https://api.github.com/repos/getyoti/php/hooks","issue_events_url":"https://api.github.com/repos/getyoti/php/issues/events{/number}","events_url":"https://api.github.com/repos/getyoti/php/events","assignees_url":"https://api.github.com/repos/getyoti/php/assignees{/user}","branches_url":"https://api.github.com/repos/getyoti/php/branches{/branch}","tags_url":"https://api.github.com/repos/getyoti/php/tags","blobs_url":"https://api.github.com/repos/getyoti/php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getyoti/php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getyoti/php/git/refs{/sha}","trees_url":"https://api.github.com/repos/getyoti/php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getyoti/php/statuses/{sha}","languages_url":"https://api.github.com/repos/getyoti/php/languages","stargazers_url":"https://api.github.com/repos/getyoti/php/stargazers","contributors_url":"https://api.github.com/repos/getyoti/php/contributors","subscribers_url":"https://api.github.com/repos/getyoti/php/subscribers","subscription_url":"https://api.github.com/repos/getyoti/php/subscription","commits_url":"https://api.github.com/repos/getyoti/php/commits{/sha}","git_commits_url":"https://api.github.com/repos/getyoti/php/git/commits{/sha}","comments_url":"https://api.github.com/repos/getyoti/php/comments{/number}","issue_comment_url":"https://api.github.com/repos/getyoti/php/issues/comments{/number}","contents_url":"https://api.github.com/repos/getyoti/php/contents/{+path}","compare_url":"https://api.github.com/repos/getyoti/php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getyoti/php/merges","archive_url":"https://api.github.com/repos/getyoti/php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getyoti/php/downloads","issues_url":"https://api.github.com/repos/getyoti/php/issues{/number}","pulls_url":"https://api.github.com/repos/getyoti/php/pulls{/number}","milestones_url":"https://api.github.com/repos/getyoti/php/milestones{/number}","notifications_url":"https://api.github.com/repos/getyoti/php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getyoti/php/labels{/name}","releases_url":"https://api.github.com/repos/getyoti/php/releases{/id}","deployments_url":"https://api.github.com/repos/getyoti/php/deployments","created_at":"2016-08-18T13:39:37Z","updated_at":"2016-11-11T10:56:27Z","pushed_at":"2017-06-15T10:50:12Z","git_url":"git://github.com/getyoti/php.git","ssh_url":"git@github.com:getyoti/php.git","clone_url":"https://github.com/getyoti/php.git","svn_url":"https://github.com/getyoti/php","homepage":null,"size":483,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getyoti/php/pulls/3"},"html":{"href":"https://github.com/getyoti/php/pull/3"},"issue":{"href":"https://api.github.com/repos/getyoti/php/issues/3"},"comments":{"href":"https://api.github.com/repos/getyoti/php/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/getyoti/php/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/getyoti/php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getyoti/php/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/getyoti/php/statuses/bbf89a082846fd2ea259023cd3ed73d3209c5cea"}}}}
{"actor":{"display_login":"vassyz"}}