{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/21","id":69156885,"html_url":"https://github.com/velikanov/SwiftPasscodeLock/pull/21","diff_url":"https://github.com/velikanov/SwiftPasscodeLock/pull/21.diff","patch_url":"https://github.com/velikanov/SwiftPasscodeLock/pull/21.patch","issue_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues/21","number":21,"state":"closed","locked":false,"title":"Made the value of reason in authenticateWithBiometrics injectable ","user":{"login":"phampton24","id":6709918,"avatar_url":"https://avatars.githubusercontent.com/u/6709918?v=3","gravatar_id":"","url":"https://api.github.com/users/phampton24","html_url":"https://github.com/phampton24","followers_url":"https://api.github.com/users/phampton24/followers","following_url":"https://api.github.com/users/phampton24/following{/other_user}","gists_url":"https://api.github.com/users/phampton24/gists{/gist_id}","starred_url":"https://api.github.com/users/phampton24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phampton24/subscriptions","organizations_url":"https://api.github.com/users/phampton24/orgs","repos_url":"https://api.github.com/users/phampton24/repos","events_url":"https://api.github.com/users/phampton24/events{/privacy}","received_events_url":"https://api.github.com/users/phampton24/received_events","type":"User","site_admin":false},"body":"I've coded a potential solution to issue #20.  This solution leverages PasscodeLockConfigurationType to optionally pass a value leveraged by authenticateWithBiometrics.  If the value is not set in the implementation of the Configuration Type then the code falls back to the existing logic that uses the strings resource file.  ","created_at":"2016-05-06T14:15:30Z","updated_at":"2016-06-12T14:11:20Z","closed_at":"2016-06-12T14:11:20Z","merged_at":"2016-06-12T14:11:20Z","merge_commit_sha":"d9503fc9316a31adc51eb2a5711955418638abf6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/21/commits","review_comments_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/21/comments","review_comment_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues/21/comments","statuses_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/statuses/a94bc30d5d785d39dbaf616160cb585a56246813","head":{"label":"phampton24:master","ref":"master","sha":"a94bc30d5d785d39dbaf616160cb585a56246813","user":{"login":"phampton24","id":6709918,"avatar_url":"https://avatars.githubusercontent.com/u/6709918?v=3","gravatar_id":"","url":"https://api.github.com/users/phampton24","html_url":"https://github.com/phampton24","followers_url":"https://api.github.com/users/phampton24/followers","following_url":"https://api.github.com/users/phampton24/following{/other_user}","gists_url":"https://api.github.com/users/phampton24/gists{/gist_id}","starred_url":"https://api.github.com/users/phampton24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phampton24/subscriptions","organizations_url":"https://api.github.com/users/phampton24/orgs","repos_url":"https://api.github.com/users/phampton24/repos","events_url":"https://api.github.com/users/phampton24/events{/privacy}","received_events_url":"https://api.github.com/users/phampton24/received_events","type":"User","site_admin":false},"repo":{"id":58138501,"name":"SwiftPasscodeLock","full_name":"phampton24/SwiftPasscodeLock","owner":{"login":"phampton24","id":6709918,"avatar_url":"https://avatars.githubusercontent.com/u/6709918?v=3","gravatar_id":"","url":"https://api.github.com/users/phampton24","html_url":"https://github.com/phampton24","followers_url":"https://api.github.com/users/phampton24/followers","following_url":"https://api.github.com/users/phampton24/following{/other_user}","gists_url":"https://api.github.com/users/phampton24/gists{/gist_id}","starred_url":"https://api.github.com/users/phampton24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phampton24/subscriptions","organizations_url":"https://api.github.com/users/phampton24/orgs","repos_url":"https://api.github.com/users/phampton24/repos","events_url":"https://api.github.com/users/phampton24/events{/privacy}","received_events_url":"https://api.github.com/users/phampton24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phampton24/SwiftPasscodeLock","description":"An iOS passcode lock with TouchID authentication written in Swift.","fork":true,"url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock","forks_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/forks","keys_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/teams","hooks_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/hooks","issue_events_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/issues/events{/number}","events_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/events","assignees_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/assignees{/user}","branches_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/branches{/branch}","tags_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/tags","blobs_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/git/refs{/sha}","trees_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/statuses/{sha}","languages_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/languages","stargazers_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/stargazers","contributors_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/contributors","subscribers_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/subscribers","subscription_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/subscription","commits_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/commits{/sha}","git_commits_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/git/commits{/sha}","comments_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/comments{/number}","issue_comment_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/issues/comments{/number}","contents_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/contents/{+path}","compare_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/merges","archive_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/downloads","issues_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/issues{/number}","pulls_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/pulls{/number}","milestones_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/milestones{/number}","notifications_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/labels{/name}","releases_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/releases{/id}","deployments_url":"https://api.github.com/repos/phampton24/SwiftPasscodeLock/deployments","created_at":"2016-05-05T14:52:36Z","updated_at":"2016-05-05T14:52:38Z","pushed_at":"2016-05-06T14:11:48Z","git_url":"git://github.com/phampton24/SwiftPasscodeLock.git","ssh_url":"git@github.com:phampton24/SwiftPasscodeLock.git","clone_url":"https://github.com/phampton24/SwiftPasscodeLock.git","svn_url":"https://github.com/phampton24/SwiftPasscodeLock","homepage":"","size":5169,"stargazers_count":0,"watchers_count":0,"language":"Swift","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":"velikanov:master","ref":"master","sha":"24579fa817bea5eaec436ef1338b3a6071e7e866","user":{"login":"velikanov","id":4798469,"avatar_url":"https://avatars.githubusercontent.com/u/4798469?v=3","gravatar_id":"","url":"https://api.github.com/users/velikanov","html_url":"https://github.com/velikanov","followers_url":"https://api.github.com/users/velikanov/followers","following_url":"https://api.github.com/users/velikanov/following{/other_user}","gists_url":"https://api.github.com/users/velikanov/gists{/gist_id}","starred_url":"https://api.github.com/users/velikanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velikanov/subscriptions","organizations_url":"https://api.github.com/users/velikanov/orgs","repos_url":"https://api.github.com/users/velikanov/repos","events_url":"https://api.github.com/users/velikanov/events{/privacy}","received_events_url":"https://api.github.com/users/velikanov/received_events","type":"User","site_admin":false},"repo":{"id":48254212,"name":"SwiftPasscodeLock","full_name":"velikanov/SwiftPasscodeLock","owner":{"login":"velikanov","id":4798469,"avatar_url":"https://avatars.githubusercontent.com/u/4798469?v=3","gravatar_id":"","url":"https://api.github.com/users/velikanov","html_url":"https://github.com/velikanov","followers_url":"https://api.github.com/users/velikanov/followers","following_url":"https://api.github.com/users/velikanov/following{/other_user}","gists_url":"https://api.github.com/users/velikanov/gists{/gist_id}","starred_url":"https://api.github.com/users/velikanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velikanov/subscriptions","organizations_url":"https://api.github.com/users/velikanov/orgs","repos_url":"https://api.github.com/users/velikanov/repos","events_url":"https://api.github.com/users/velikanov/events{/privacy}","received_events_url":"https://api.github.com/users/velikanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/velikanov/SwiftPasscodeLock","description":"An iOS passcode lock with TouchID authentication written in Swift.","fork":true,"url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock","forks_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/forks","keys_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/teams","hooks_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/hooks","issue_events_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues/events{/number}","events_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/events","assignees_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/assignees{/user}","branches_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/branches{/branch}","tags_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/tags","blobs_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/git/refs{/sha}","trees_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/statuses/{sha}","languages_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/languages","stargazers_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/stargazers","contributors_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/contributors","subscribers_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/subscribers","subscription_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/subscription","commits_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/commits{/sha}","git_commits_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/git/commits{/sha}","comments_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/comments{/number}","issue_comment_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues/comments{/number}","contents_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/contents/{+path}","compare_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/merges","archive_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/downloads","issues_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues{/number}","pulls_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls{/number}","milestones_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/milestones{/number}","notifications_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/labels{/name}","releases_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/releases{/id}","deployments_url":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/deployments","created_at":"2015-12-18T20:06:05Z","updated_at":"2016-06-04T02:06:05Z","pushed_at":"2016-06-12T14:11:20Z","git_url":"git://github.com/velikanov/SwiftPasscodeLock.git","ssh_url":"git@github.com:velikanov/SwiftPasscodeLock.git","clone_url":"https://github.com/velikanov/SwiftPasscodeLock.git","svn_url":"https://github.com/velikanov/SwiftPasscodeLock","homepage":"","size":5171,"stargazers_count":41,"watchers_count":41,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":14,"forks":14,"open_issues":14,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/21"},"html":{"href":"https://github.com/velikanov/SwiftPasscodeLock/pull/21"},"issue":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues/21"},"comments":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/velikanov/SwiftPasscodeLock/statuses/a94bc30d5d785d39dbaf616160cb585a56246813"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ziogaschr","id":802700,"avatar_url":"https://avatars.githubusercontent.com/u/802700?v=3","gravatar_id":"","url":"https://api.github.com/users/ziogaschr","html_url":"https://github.com/ziogaschr","followers_url":"https://api.github.com/users/ziogaschr/followers","following_url":"https://api.github.com/users/ziogaschr/following{/other_user}","gists_url":"https://api.github.com/users/ziogaschr/gists{/gist_id}","starred_url":"https://api.github.com/users/ziogaschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziogaschr/subscriptions","organizations_url":"https://api.github.com/users/ziogaschr/orgs","repos_url":"https://api.github.com/users/ziogaschr/repos","events_url":"https://api.github.com/users/ziogaschr/events{/privacy}","received_events_url":"https://api.github.com/users/ziogaschr/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"ziogaschr"}}