{"action":"created","issue":{"url":"https://api.github.com/repos/Workiva/w_service/issues/56","labels_url":"https://api.github.com/repos/Workiva/w_service/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/Workiva/w_service/issues/56/comments","events_url":"https://api.github.com/repos/Workiva/w_service/issues/56/events","html_url":"https://github.com/Workiva/w_service/issues/56","id":91897004,"number":56,"title":"CsrfInterceptor: Add stream for CSRF token change events","user":{"login":"evanweible-wf","id":1738457,"avatar_url":"https://avatars.githubusercontent.com/u/1738457?v=3","gravatar_id":"","url":"https://api.github.com/users/evanweible-wf","html_url":"https://github.com/evanweible-wf","followers_url":"https://api.github.com/users/evanweible-wf/followers","following_url":"https://api.github.com/users/evanweible-wf/following{/other_user}","gists_url":"https://api.github.com/users/evanweible-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/evanweible-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanweible-wf/subscriptions","organizations_url":"https://api.github.com/users/evanweible-wf/orgs","repos_url":"https://api.github.com/users/evanweible-wf/repos","events_url":"https://api.github.com/users/evanweible-wf/events{/privacy}","received_events_url":"https://api.github.com/users/evanweible-wf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T20:08:45Z","updated_at":"2015-06-29T20:10:43Z","closed_at":null,"body":"```dart\r\nStreamController<String> _onTokenChange = new StreamController<String>();\r\nStream<String> _onTokenChangeStream = _onTokenChange.stream.asBroadcastStream();\r\nString _token = '';\r\n\r\nStream<String> get onTokenChange => _onTokenChangeStream;\r\nString get token => _token;\r\nset token(String token) {\r\n  _token = token;\r\n  _onTokenChange.add(token);\r\n}\r\n```\r\n\r\nWould allow whoever creates the `CsrfInterceptor` to listen to whenever the token is updated. Thoughts?\r\n@trentgrover-wf @maxwellpeterson-wf "},"comment":{"url":"https://api.github.com/repos/Workiva/w_service/issues/comments/116825561","html_url":"https://github.com/Workiva/w_service/issues/56#issuecomment-116825561","issue_url":"https://api.github.com/repos/Workiva/w_service/issues/56","id":116825561,"user":{"login":"trentgrover-wf","id":3778206,"avatar_url":"https://avatars.githubusercontent.com/u/3778206?v=3","gravatar_id":"","url":"https://api.github.com/users/trentgrover-wf","html_url":"https://github.com/trentgrover-wf","followers_url":"https://api.github.com/users/trentgrover-wf/followers","following_url":"https://api.github.com/users/trentgrover-wf/following{/other_user}","gists_url":"https://api.github.com/users/trentgrover-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/trentgrover-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trentgrover-wf/subscriptions","organizations_url":"https://api.github.com/users/trentgrover-wf/orgs","repos_url":"https://api.github.com/users/trentgrover-wf/repos","events_url":"https://api.github.com/users/trentgrover-wf/events{/privacy}","received_events_url":"https://api.github.com/users/trentgrover-wf/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T20:10:43Z","updated_at":"2015-06-29T20:10:43Z","body":"Do you have a use case in mind?\r\n\r\nI have no objection, but just keep in mind that whatever you add to a public API is likely ours to maintain forever."}}