{"action":"created","issue":{"url":"https://api.github.com/repos/Luracast/Restler-API-Explorer/issues/15","labels_url":"https://api.github.com/repos/Luracast/Restler-API-Explorer/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Luracast/Restler-API-Explorer/issues/15/comments","events_url":"https://api.github.com/repos/Luracast/Restler-API-Explorer/issues/15/events","html_url":"https://github.com/Luracast/Restler-API-Explorer/issues/15","id":58312870,"number":15,"title":"Not showing Explorer when using AuthenticationClass","user":{"login":"codemonkeyneo","id":1061559,"avatar_url":"https://avatars.githubusercontent.com/u/1061559?v=3","gravatar_id":"","url":"https://api.github.com/users/codemonkeyneo","html_url":"https://github.com/codemonkeyneo","followers_url":"https://api.github.com/users/codemonkeyneo/followers","following_url":"https://api.github.com/users/codemonkeyneo/following{/other_user}","gists_url":"https://api.github.com/users/codemonkeyneo/gists{/gist_id}","starred_url":"https://api.github.com/users/codemonkeyneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemonkeyneo/subscriptions","organizations_url":"https://api.github.com/users/codemonkeyneo/orgs","repos_url":"https://api.github.com/users/codemonkeyneo/repos","events_url":"https://api.github.com/users/codemonkeyneo/events{/privacy}","received_events_url":"https://api.github.com/users/codemonkeyneo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-20T05:47:11Z","updated_at":"2015-02-20T11:14:05Z","closed_at":"2015-02-20T09:25:03Z","body":"I'm trying to secure a couple of our API endpoints and it works as per the examples (_005_protected_api) but I have found that the explorer will then not show any of the endpoints created.\r\n\r\nI have added the Authentication class into index.php\r\n```\r\n$r->addAuthenticationClass('MySimpleAuth');\r\n```\r\n\r\nbut then looking at the explorer to see the swagger style documentation , I get\r\n\r\n```\r\n200 : OK ../resources.json\r\n```\r\n\r\nIs this a bug or a step I have missed.\r\n\r\nCheers\r\n\r\ncodemonkeyneo\r\n"},"comment":{"url":"https://api.github.com/repos/Luracast/Restler-API-Explorer/issues/comments/75222731","html_url":"https://github.com/Luracast/Restler-API-Explorer/issues/15#issuecomment-75222731","issue_url":"https://api.github.com/repos/Luracast/Restler-API-Explorer/issues/15","id":75222731,"user":{"login":"codemonkeyneo","id":1061559,"avatar_url":"https://avatars.githubusercontent.com/u/1061559?v=3","gravatar_id":"","url":"https://api.github.com/users/codemonkeyneo","html_url":"https://github.com/codemonkeyneo","followers_url":"https://api.github.com/users/codemonkeyneo/followers","following_url":"https://api.github.com/users/codemonkeyneo/following{/other_user}","gists_url":"https://api.github.com/users/codemonkeyneo/gists{/gist_id}","starred_url":"https://api.github.com/users/codemonkeyneo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codemonkeyneo/subscriptions","organizations_url":"https://api.github.com/users/codemonkeyneo/orgs","repos_url":"https://api.github.com/users/codemonkeyneo/repos","events_url":"https://api.github.com/users/codemonkeyneo/events{/privacy}","received_events_url":"https://api.github.com/users/codemonkeyneo/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T11:14:05Z","updated_at":"2015-02-20T11:14:05Z","body":"Thanks for quick reply. I tried adding the above into index.php and its still the same. I have around 9 normal endpoints and one declared as protected. I will continue to investigate and if I do solve it make sure I come back here :). Thanks"}}