Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias alias FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Return TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body Return TupleLoad AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body If NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body If NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list
N/A N/A 
A number of security utilities for Indivo (used in SMArt)

based on django constructs
and Indivo data models

Ben Adida (ben.adida@childrens.harvard.edu)
2008-12-29
 django.core.exceptions * N/A functools N/A copy N/A logging oauth oauth djangoutils smart models smart.accesscontrol.oauth_servers ADMIN_OAUTH_SERVER OAUTH_SERVER SMART_CONNECT_OAUTH_SERVER SESSION_OAUTH_SERVER HELPER_APP_SERVER get_oauth_info N/A N/A request server N/A N/A N/A N/A N/A oauth_request N/A N/A server extract_oauth_request N/A N/A djangoutils extract_request request N/A N/A consumer token parameters N/A N/A server check_resource_access oauth_request N/A N/A consumer token parameters oauth_request N/A N/A N/A N/A oauth OAuthError N/A e N/A N/A N/A None None None None N/A get_principal N/A N/A request N/A N/A N/A Figure out the principal making the request.

    First SMArt connect app (via web user); then web user; then PHA; then
    Helper app; then Chrome App sudo'ing.
     N/A N/A pha token parameters oauth_request N/A get_oauth_info request SMART_CONNECT_OAUTH_SERVER N/A N/A pha token N/A N/A N/A token oauth_request N/A N/A chrome_app token parameters oauth_request N/A get_oauth_info request SESSION_OAUTH_SERVER N/A token N/A N/A N/A N/A token user oauth_request N/A N/A pha token parameters oauth_request N/A get_oauth_info request OAUTH_SERVER N/A pha N/A N/A token N/A N/A N/A token oauth_request N/A N/A pha oauth_request N/A N/A ha token parameters oauth_request N/A get_oauth_info request HELPER_APP_SERVER N/A ha N/A N/A token N/A N/A N/A token oauth_request N/A N/A ha oauth_request N/A N/A admin_app token params oauth_request N/A get_oauth_info request ADMIN_OAUTH_SERVER N/A admin_app N/A N/A N/A admin_app oauth_request N/A N/A None None N/A