{"action":"created","comment":{"url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/comments/62208268","id":62208268,"diff_hunk":"@@ -0,0 +1,15 @@\n+Hi there,\n+\n+Someone recently requested to add this email address, <?php echo \\yii\\helpers\\Html::encode($toAddress); ?>,\n+as a method for verifying themselves should they need to reset their <?php echo \\Yii::$app->params['idpName']; ?>\n+account. If this was you, you can use the reset code below to set a new password.\n+\n+Reset Code: <?php echo \\yii\\helpers\\Html::encode($code); ?>\n+\n+If you did not request adding this email address to your account please delete this email.\n+\n+To keep your account secure, please don't forward this email to anyone.\n+See our Help Center for <a href=\"<?php echo \\Yii::$app->params['helpCenterUrl']; ?>\">more security tips</a>.","path":"application/common/mail/method/verify.php","position":12,"original_position":12,"commit_id":"d6f0c9d64bf88d277b5ae148aea5d5fc8c09815a","original_commit_id":"d6f0c9d64bf88d277b5ae148aea5d5fc8c09815a","user":{"login":"forevermatt","id":6233204,"avatar_url":"https://avatars.githubusercontent.com/u/6233204?v=3","gravatar_id":"","url":"https://api.github.com/users/forevermatt","html_url":"https://github.com/forevermatt","followers_url":"https://api.github.com/users/forevermatt/followers","following_url":"https://api.github.com/users/forevermatt/following{/other_user}","gists_url":"https://api.github.com/users/forevermatt/gists{/gist_id}","starred_url":"https://api.github.com/users/forevermatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forevermatt/subscriptions","organizations_url":"https://api.github.com/users/forevermatt/orgs","repos_url":"https://api.github.com/users/forevermatt/repos","events_url":"https://api.github.com/users/forevermatt/events{/privacy}","received_events_url":"https://api.github.com/users/forevermatt/received_events","type":"User","site_admin":false},"body":"The helpCenterUrl value might also need to be escaped, so that any special characters (such as ampersands) are properly encoded for use in an HTML attribute.\r\n\r\nJust from a separation of concerns standpoint, it would probably also be better if the helpCenterUrl was passed into this view rather than having this view reach out for it. We recently had to fix a bug in another project that was partially caused by a view file reaching out to somewhere else in the code rather than being given all the data that it needed.","created_at":"2016-05-05T15:57:49Z","updated_at":"2016-05-05T15:57:49Z","html_url":"https://github.com/silinternational/idp-pw-api/pull/22#discussion_r62208268","pull_request_url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/comments/62208268"},"html":{"href":"https://github.com/silinternational/idp-pw-api/pull/22#discussion_r62208268"},"pull_request":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22","id":68908165,"html_url":"https://github.com/silinternational/idp-pw-api/pull/22","diff_url":"https://github.com/silinternational/idp-pw-api/pull/22.diff","patch_url":"https://github.com/silinternational/idp-pw-api/pull/22.patch","issue_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues/22","number":22,"state":"open","locked":false,"title":"Method APIs built out","user":{"login":"fillup","id":556105,"avatar_url":"https://avatars.githubusercontent.com/u/556105?v=3","gravatar_id":"","url":"https://api.github.com/users/fillup","html_url":"https://github.com/fillup","followers_url":"https://api.github.com/users/fillup/followers","following_url":"https://api.github.com/users/fillup/following{/other_user}","gists_url":"https://api.github.com/users/fillup/gists{/gist_id}","starred_url":"https://api.github.com/users/fillup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillup/subscriptions","organizations_url":"https://api.github.com/users/fillup/orgs","repos_url":"https://api.github.com/users/fillup/repos","events_url":"https://api.github.com/users/fillup/events{/privacy}","received_events_url":"https://api.github.com/users/fillup/received_events","type":"User","site_admin":false},"body":"Ability to add, verify, and delete methods via API. Works with email, Nexmo Verify, and Nexmo SMS.\r\n\r\n@Baggerone @wcjr @forevermatt ","created_at":"2016-05-04T18:22:08Z","updated_at":"2016-05-05T15:57:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8146b44f9a13335dc075ee65ac1518a7ef0c8f7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22/commits","review_comments_url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22/comments","review_comment_url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues/22/comments","statuses_url":"https://api.github.com/repos/silinternational/idp-pw-api/statuses/d6f0c9d64bf88d277b5ae148aea5d5fc8c09815a","head":{"label":"silinternational:feature/methodApis","ref":"feature/methodApis","sha":"d6f0c9d64bf88d277b5ae148aea5d5fc8c09815a","user":{"login":"silinternational","id":1247676,"avatar_url":"https://avatars.githubusercontent.com/u/1247676?v=3","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"repo":{"id":52492026,"name":"idp-pw-api","full_name":"silinternational/idp-pw-api","owner":{"login":"silinternational","id":1247676,"avatar_url":"https://avatars.githubusercontent.com/u/1247676?v=3","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/silinternational/idp-pw-api","description":"Identity Provider Password Manager API","fork":false,"url":"https://api.github.com/repos/silinternational/idp-pw-api","forks_url":"https://api.github.com/repos/silinternational/idp-pw-api/forks","keys_url":"https://api.github.com/repos/silinternational/idp-pw-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silinternational/idp-pw-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silinternational/idp-pw-api/teams","hooks_url":"https://api.github.com/repos/silinternational/idp-pw-api/hooks","issue_events_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues/events{/number}","events_url":"https://api.github.com/repos/silinternational/idp-pw-api/events","assignees_url":"https://api.github.com/repos/silinternational/idp-pw-api/assignees{/user}","branches_url":"https://api.github.com/repos/silinternational/idp-pw-api/branches{/branch}","tags_url":"https://api.github.com/repos/silinternational/idp-pw-api/tags","blobs_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silinternational/idp-pw-api/statuses/{sha}","languages_url":"https://api.github.com/repos/silinternational/idp-pw-api/languages","stargazers_url":"https://api.github.com/repos/silinternational/idp-pw-api/stargazers","contributors_url":"https://api.github.com/repos/silinternational/idp-pw-api/contributors","subscribers_url":"https://api.github.com/repos/silinternational/idp-pw-api/subscribers","subscription_url":"https://api.github.com/repos/silinternational/idp-pw-api/subscription","commits_url":"https://api.github.com/repos/silinternational/idp-pw-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/silinternational/idp-pw-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/silinternational/idp-pw-api/contents/{+path}","compare_url":"https://api.github.com/repos/silinternational/idp-pw-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silinternational/idp-pw-api/merges","archive_url":"https://api.github.com/repos/silinternational/idp-pw-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silinternational/idp-pw-api/downloads","issues_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues{/number}","pulls_url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls{/number}","milestones_url":"https://api.github.com/repos/silinternational/idp-pw-api/milestones{/number}","notifications_url":"https://api.github.com/repos/silinternational/idp-pw-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silinternational/idp-pw-api/labels{/name}","releases_url":"https://api.github.com/repos/silinternational/idp-pw-api/releases{/id}","deployments_url":"https://api.github.com/repos/silinternational/idp-pw-api/deployments","created_at":"2016-02-25T02:53:23Z","updated_at":"2016-02-26T15:25:24Z","pushed_at":"2016-05-04T20:04:18Z","git_url":"git://github.com/silinternational/idp-pw-api.git","ssh_url":"git@github.com:silinternational/idp-pw-api.git","clone_url":"https://github.com/silinternational/idp-pw-api.git","svn_url":"https://github.com/silinternational/idp-pw-api","homepage":null,"size":207,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"develop"}},"base":{"label":"silinternational:develop","ref":"develop","sha":"d680b2ffba350d777deb9b20106602f09def704b","user":{"login":"silinternational","id":1247676,"avatar_url":"https://avatars.githubusercontent.com/u/1247676?v=3","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"repo":{"id":52492026,"name":"idp-pw-api","full_name":"silinternational/idp-pw-api","owner":{"login":"silinternational","id":1247676,"avatar_url":"https://avatars.githubusercontent.com/u/1247676?v=3","gravatar_id":"","url":"https://api.github.com/users/silinternational","html_url":"https://github.com/silinternational","followers_url":"https://api.github.com/users/silinternational/followers","following_url":"https://api.github.com/users/silinternational/following{/other_user}","gists_url":"https://api.github.com/users/silinternational/gists{/gist_id}","starred_url":"https://api.github.com/users/silinternational/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silinternational/subscriptions","organizations_url":"https://api.github.com/users/silinternational/orgs","repos_url":"https://api.github.com/users/silinternational/repos","events_url":"https://api.github.com/users/silinternational/events{/privacy}","received_events_url":"https://api.github.com/users/silinternational/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/silinternational/idp-pw-api","description":"Identity Provider Password Manager API","fork":false,"url":"https://api.github.com/repos/silinternational/idp-pw-api","forks_url":"https://api.github.com/repos/silinternational/idp-pw-api/forks","keys_url":"https://api.github.com/repos/silinternational/idp-pw-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silinternational/idp-pw-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silinternational/idp-pw-api/teams","hooks_url":"https://api.github.com/repos/silinternational/idp-pw-api/hooks","issue_events_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues/events{/number}","events_url":"https://api.github.com/repos/silinternational/idp-pw-api/events","assignees_url":"https://api.github.com/repos/silinternational/idp-pw-api/assignees{/user}","branches_url":"https://api.github.com/repos/silinternational/idp-pw-api/branches{/branch}","tags_url":"https://api.github.com/repos/silinternational/idp-pw-api/tags","blobs_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silinternational/idp-pw-api/statuses/{sha}","languages_url":"https://api.github.com/repos/silinternational/idp-pw-api/languages","stargazers_url":"https://api.github.com/repos/silinternational/idp-pw-api/stargazers","contributors_url":"https://api.github.com/repos/silinternational/idp-pw-api/contributors","subscribers_url":"https://api.github.com/repos/silinternational/idp-pw-api/subscribers","subscription_url":"https://api.github.com/repos/silinternational/idp-pw-api/subscription","commits_url":"https://api.github.com/repos/silinternational/idp-pw-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/silinternational/idp-pw-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/silinternational/idp-pw-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/silinternational/idp-pw-api/contents/{+path}","compare_url":"https://api.github.com/repos/silinternational/idp-pw-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silinternational/idp-pw-api/merges","archive_url":"https://api.github.com/repos/silinternational/idp-pw-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silinternational/idp-pw-api/downloads","issues_url":"https://api.github.com/repos/silinternational/idp-pw-api/issues{/number}","pulls_url":"https://api.github.com/repos/silinternational/idp-pw-api/pulls{/number}","milestones_url":"https://api.github.com/repos/silinternational/idp-pw-api/milestones{/number}","notifications_url":"https://api.github.com/repos/silinternational/idp-pw-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silinternational/idp-pw-api/labels{/name}","releases_url":"https://api.github.com/repos/silinternational/idp-pw-api/releases{/id}","deployments_url":"https://api.github.com/repos/silinternational/idp-pw-api/deployments","created_at":"2016-02-25T02:53:23Z","updated_at":"2016-02-26T15:25:24Z","pushed_at":"2016-05-04T20:04:18Z","git_url":"git://github.com/silinternational/idp-pw-api.git","ssh_url":"git@github.com:silinternational/idp-pw-api.git","clone_url":"https://github.com/silinternational/idp-pw-api.git","svn_url":"https://github.com/silinternational/idp-pw-api","homepage":null,"size":207,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22"},"html":{"href":"https://github.com/silinternational/idp-pw-api/pull/22"},"issue":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/issues/22"},"comments":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/silinternational/idp-pw-api/statuses/d6f0c9d64bf88d277b5ae148aea5d5fc8c09815a"}}}}