GET /api/v2/video/555
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "category": "PyTexas 2011", "language": "English", "slug": "custom-decorators-for-authentication-and-authoriz", "speakers": [ "Jason Zylks" ], "tags": [], "id": 555, "state": 1, "title": "Custom Decorators for Authentication and Authorization", "summary": "An introduction to writing decorators, with an example of how they can be used\nto handle common authentication and authorization actions for a set of web\nservices.\n\n", "description": "To provide access to enterprise directory data and services to developers at\nTexas A&M; University, we have implemented a set of RESTful web services,\nusing Django as our framework. Because these services include access to\nprotected data, all web service clients must authenticate and be authorized to\naccess a particular service. In order to implement the logic for making\nauthentication and authorization decisions in one place, and cleanly apply it\nto any view, we wrote a custom decorator. This talk will cover the basic\nconcepts behind decorators, how to write a decorator, and walk through our\nimplementation of a decorator for authN/authZ.\n\n", "quality_notes": "", "copyright_text": "", "embed": "", "thumbnail_url": "", "duration": null, "video_ogv_length": 147004946, "video_ogv_url": null, "video_ogv_download_only": false, "video_mp4_length": null, "video_mp4_url": "", "video_mp4_download_only": false, "video_webm_length": null, "video_webm_url": null, "video_webm_download_only": false, "video_flv_length": null, "video_flv_url": null, "video_flv_download_only": false, "source_url": "", "whiteboard": "", "recorded": null, "added": "2012-02-23T04:20:00", "updated": "2014-04-08T20:28:25.411" }