Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr keyword NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Call NameLoad Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Call NameLoad Str If CompareLt AttributeLoad NameLoad attr BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num body Raise Call AttributeLoad NameLoad attr Call NameLoad Str orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareNotEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Return NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr NameLoad orelse If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list decorator_list Return NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad
N/A __future__ unicode_literals django.conf settings django.utils timezone django.utils.translation ugettext_lazy _ N/A rest_framework.authentication rest_framework exceptions N/A nodeconductor.logging.middleware N/A TOKEN_KEY N/A N/A N/A settings NODECONDUCTOR get TOKEN_KEY x-auth-token TokenAuthentication N/A N/A N/A rest_framework authentication TokenAuthentication N/A N/A 
    Custom token-based authentication.

    Use TOKEN_KEY from request query parameters if authentication token was not found in header.
     get_authorization_value N/A N/A self request N/A N/A N/A auth N/A N/A N/A rest_framework authentication get_authorization_header request N/A N/A auth N/A N/A auth N/A N/A N/A request query_params get TOKEN_KEY N/A auth N/A authenticate_credentials N/A N/A self key N/A N/A N/A N/A N/A token N/A N/A N/A N/A N/A N/A self model objects select_related user get key key N/A N/A N/A N/A N/A self model DoesNotExist N/A N/A N/A N/A exceptions AuthenticationFailed N/A _ Invalid token. N/A N/A N/A N/A token user is_active N/A N/A N/A N/A exceptions AuthenticationFailed N/A _ User inactive or deleted. N/A N/A N/A token created N/A N/A N/A timezone now N/A N/A timezone timedelta hours 1 N/A N/A N/A N/A exceptions AuthenticationFailed N/A _ Token has expired. N/A N/A N/A token created N/A N/A timezone now N/A N/A N/A token save N/A N/A N/A token user token N/A authenticate N/A N/A self request N/A N/A N/A auth N/A N/A N/A N/A self get_authorization_value request split N/A N/A N/A auth N/A N/A N/A N/A auth N/A 0 lower token N/A N/A None N/A N/A N/A len auth 1 N/A N/A msg N/A _ Invalid token. No credentials provided. N/A N/A N/A exceptions AuthenticationFailed msg N/A N/A N/A N/A len auth 2 N/A N/A msg N/A _ Invalid token. Token string should not contain spaces. N/A N/A N/A exceptions AuthenticationFailed msg N/A N/A N/A self authenticate_credentials N/A auth N/A 1 N/A N/A user_capturing_auth N/A N/A auth N/A N/A CapturingAuthentication N/A auth N/A authenticate N/A N/A self request N/A N/A N/A result N/A N/A N/A super CapturingAuthentication self authenticate request N/A N/A result None N/A N/A N/A user _ result N/A N/A N/A N/A N/A nodeconductor logging middleware set_current_user user N/A result N/A N/A N/A CapturingAuthentication N/A N/A SessionAuthentication N/A user_capturing_auth N/A N/A rest_framework authentication SessionAuthentication N/A TokenAuthentication N/A user_capturing_auth TokenAuthentication