{"action":"created","issue":{"url":"https://api.github.com/repos/Vestorly/torii/issues/253","labels_url":"https://api.github.com/repos/Vestorly/torii/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/Vestorly/torii/issues/253/comments","events_url":"https://api.github.com/repos/Vestorly/torii/issues/253/events","html_url":"https://github.com/Vestorly/torii/issues/253","id":119589552,"number":253,"title":"Custom provider doesn't receive session data to close method  ","user":{"login":"kevintechie","id":10410717,"avatar_url":"https://avatars.githubusercontent.com/u/10410717?v=3","gravatar_id":"","url":"https://api.github.com/users/kevintechie","html_url":"https://github.com/kevintechie","followers_url":"https://api.github.com/users/kevintechie/followers","following_url":"https://api.github.com/users/kevintechie/following{/other_user}","gists_url":"https://api.github.com/users/kevintechie/gists{/gist_id}","starred_url":"https://api.github.com/users/kevintechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevintechie/subscriptions","organizations_url":"https://api.github.com/users/kevintechie/orgs","repos_url":"https://api.github.com/users/kevintechie/repos","events_url":"https://api.github.com/users/kevintechie/events{/privacy}","received_events_url":"https://api.github.com/users/kevintechie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-30T21:55:32Z","updated_at":"2015-12-01T20:38:28Z","closed_at":"2015-12-01T19:01:37Z","body":"I have implemented a custom Torii provider (in app/torii-providers/myprovider.js) for use with Ember Simple Auth and have implemented the open, fetch, and close methods.\r\n\r\nI have been able to get the open and fetch methods to work properly, but the close method doesn't receive session data as a parameter. The fetch method receives the session data, but close does not. I need the session data that contains an access token in order to remove the token from the server-side access token database.\r\n\r\nIs there any way to get the session data when implementing close? "},"comment":{"url":"https://api.github.com/repos/Vestorly/torii/issues/comments/161088548","html_url":"https://github.com/Vestorly/torii/issues/253#issuecomment-161088548","issue_url":"https://api.github.com/repos/Vestorly/torii/issues/253","id":161088548,"user":{"login":"matthewnessworthy","id":5653887,"avatar_url":"https://avatars.githubusercontent.com/u/5653887?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewnessworthy","html_url":"https://github.com/matthewnessworthy","followers_url":"https://api.github.com/users/matthewnessworthy/followers","following_url":"https://api.github.com/users/matthewnessworthy/following{/other_user}","gists_url":"https://api.github.com/users/matthewnessworthy/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewnessworthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewnessworthy/subscriptions","organizations_url":"https://api.github.com/users/matthewnessworthy/orgs","repos_url":"https://api.github.com/users/matthewnessworthy/repos","events_url":"https://api.github.com/users/matthewnessworthy/events{/privacy}","received_events_url":"https://api.github.com/users/matthewnessworthy/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T20:38:28Z","updated_at":"2015-12-01T20:38:28Z","body":"thanks"}}