{"action":"closed","issue":{"url":"https://api.github.com/repos/legalthings/angular-pdfjs-viewer/issues/35","repository_url":"https://api.github.com/repos/legalthings/angular-pdfjs-viewer","labels_url":"https://api.github.com/repos/legalthings/angular-pdfjs-viewer/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/legalthings/angular-pdfjs-viewer/issues/35/comments","events_url":"https://api.github.com/repos/legalthings/angular-pdfjs-viewer/issues/35/events","html_url":"https://github.com/legalthings/angular-pdfjs-viewer/issues/35","id":217800846,"number":35,"title":"Access PDF's on a secure location","user":{"login":"jegjessing","id":12476410,"avatar_url":"https://avatars3.githubusercontent.com/u/12476410?v=3","gravatar_id":"","url":"https://api.github.com/users/jegjessing","html_url":"https://github.com/jegjessing","followers_url":"https://api.github.com/users/jegjessing/followers","following_url":"https://api.github.com/users/jegjessing/following{/other_user}","gists_url":"https://api.github.com/users/jegjessing/gists{/gist_id}","starred_url":"https://api.github.com/users/jegjessing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jegjessing/subscriptions","organizations_url":"https://api.github.com/users/jegjessing/orgs","repos_url":"https://api.github.com/users/jegjessing/repos","events_url":"https://api.github.com/users/jegjessing/events{/privacy}","received_events_url":"https://api.github.com/users/jegjessing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-29T08:27:59Z","updated_at":"2017-04-06T15:50:02Z","closed_at":"2017-04-06T15:50:02Z","body":"Hi, this really looks interesting.\r\nThere is one thing though.\r\n\r\nTo enable the viewer it needs the location of the pdf like src=...\r\nThing is, that the PDF's that we use must be protected and only accessed by users logged in. Just giving the src would not work in this case.\r\nIs there a possibility for giving specific headers to it or setting data instead of src?\r\nThen I could use angular for \"downloading\" the PDF into $scope.pdfdata\r\nand then as argument for the viewer set data=\"pdfdata\"\r\n\r\nHope you understand"}}
{"actor":{"display_login":"jasny"}}