{"action":"created","issue":{"url":"https://api.github.com/repos/jbittel/django-mama-cas/issues/16","labels_url":"https://api.github.com/repos/jbittel/django-mama-cas/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/jbittel/django-mama-cas/issues/16/comments","events_url":"https://api.github.com/repos/jbittel/django-mama-cas/issues/16/events","html_url":"https://github.com/jbittel/django-mama-cas/issues/16","id":55235541,"number":16,"title":"How to send attributes to the client?","user":{"login":"d0nezer0","id":4329981,"avatar_url":"https://avatars.githubusercontent.com/u/4329981?v=3","gravatar_id":"","url":"https://api.github.com/users/d0nezer0","html_url":"https://github.com/d0nezer0","followers_url":"https://api.github.com/users/d0nezer0/followers","following_url":"https://api.github.com/users/d0nezer0/following{/other_user}","gists_url":"https://api.github.com/users/d0nezer0/gists{/gist_id}","starred_url":"https://api.github.com/users/d0nezer0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d0nezer0/subscriptions","organizations_url":"https://api.github.com/users/d0nezer0/orgs","repos_url":"https://api.github.com/users/d0nezer0/repos","events_url":"https://api.github.com/users/d0nezer0/events{/privacy}","received_events_url":"https://api.github.com/users/d0nezer0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-23T01:54:49Z","updated_at":"2015-01-26T18:05:43Z","closed_at":null,"body":"I wish to know how to call the callbacks.py's funcs.\r\n\r\nNow I use django-mama-cas as the CAS server, and django-cas-ng as a clients to login.\r\nI need to add a user access-token to the args to the client.\r\nI can get the token on the server side, how can I get it on the client sites?\r\nThanks a lot."},"comment":{"url":"https://api.github.com/repos/jbittel/django-mama-cas/issues/comments/71506966","html_url":"https://github.com/jbittel/django-mama-cas/issues/16#issuecomment-71506966","issue_url":"https://api.github.com/repos/jbittel/django-mama-cas/issues/16","id":71506966,"user":{"login":"jbittel","id":814673,"avatar_url":"https://avatars.githubusercontent.com/u/814673?v=3","gravatar_id":"","url":"https://api.github.com/users/jbittel","html_url":"https://github.com/jbittel","followers_url":"https://api.github.com/users/jbittel/followers","following_url":"https://api.github.com/users/jbittel/following{/other_user}","gists_url":"https://api.github.com/users/jbittel/gists{/gist_id}","starred_url":"https://api.github.com/users/jbittel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbittel/subscriptions","organizations_url":"https://api.github.com/users/jbittel/orgs","repos_url":"https://api.github.com/users/jbittel/repos","events_url":"https://api.github.com/users/jbittel/events{/privacy}","received_events_url":"https://api.github.com/users/jbittel/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T18:05:43Z","updated_at":"2015-01-26T18:05:43Z","body":"Have you looked at the docs for [MAMA_CAS_ATTRIBUTE_CALLBACKS](http://django-mama-cas.readthedocs.org/en/latest/settings.html#django.conf.settings.MAMA_CAS_ATTRIBUTE_CALLBACKS)? That is how you specify the dotted path to a callback function, whether one of the examples in callbacks.py or a custom one you've written. When performing a /serviceValidate or /proxyValidate that will return those values in the XML success response."}}