Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareIs NameLoad NameLoad body Return NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr BinOpSub Call NameLoad Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr BinOpSub Call NameLoad Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A datetime timedelta django.core.urlresolvers reverse N/A constants views Capture Authorize Redirect views AccessToken AccessTokenView OAuthError utils now forms AuthorizationRequestForm AuthorizationForm forms PasswordGrantForm RefreshTokenGrantForm forms AuthorizationCodeGrantForm models Client RefreshToken AccessToken backends BasicClientBackend RequestParamsClientBackend PublicPasswordBackend Capture N/A Capture N/A N/A 
    Implementation of :class:`provider.views.Capture`.
     get_redirect_url N/A N/A self request N/A N/A N/A N/A reverse oauth2:authorize N/A N/A Authorize N/A Authorize N/A N/A 
    Implementation of :class:`provider.views.Authorize`.
     get_request_form N/A N/A self client data N/A N/A N/A N/A AuthorizationRequestForm data client client N/A get_authorization_form N/A N/A self request client data client_data N/A N/A N/A N/A AuthorizationForm data N/A get_client N/A N/A self client_id N/A N/A N/A N/A N/A N/A N/A N/A Client objects get client_id client_id N/A N/A N/A N/A Client DoesNotExist N/A N/A None N/A get_redirect_url N/A N/A self request N/A N/A N/A N/A reverse oauth2:redirect N/A save_authorization N/A N/A self request client form client_data N/A N/A N/A grant N/A N/A form save commit False N/A N/A grant None N/A N/A None N/A N/A grant user N/A request user N/A N/A grant client client N/A N/A grant redirect_uri N/A N/A client_data get redirect_uri N/A N/A N/A grant save N/A N/A grant code N/A N/A Redirect N/A Redirect N/A N/A 
    Implementation of :class:`provider.views.Redirect`
     N/A N/A AccessTokenView N/A AccessTokenView N/A N/A 
    Implementation of :class:`provider.views.AccessToken`.

    .. note:: This implementation does provide all default grant types defined
        in :attr:`provider.views.AccessToken.grant_types`. If you
        wish to disable any, you can override the :meth:`get_handler` method
        *or* the :attr:`grant_types` list.
     N/A authentication N/A BasicClientBackend RequestParamsClientBackend PublicPasswordBackend get_authorization_code_grant N/A N/A self request data client N/A N/A N/A form N/A AuthorizationCodeGrantForm data client client N/A N/A N/A N/A form is_valid N/A N/A N/A OAuthError N/A form errors N/A N/A N/A N/A form cleaned_data get grant N/A get_refresh_token_grant N/A N/A self request data client N/A N/A N/A form N/A RefreshTokenGrantForm data client client N/A N/A N/A N/A form is_valid N/A N/A N/A OAuthError N/A form errors N/A N/A N/A N/A form cleaned_data get refresh_token N/A get_password_grant N/A N/A self request data client N/A N/A N/A form N/A PasswordGrantForm data client client N/A N/A N/A N/A form is_valid N/A N/A N/A OAuthError N/A form errors N/A N/A form cleaned_data N/A get_access_token N/A N/A self request user scope client N/A N/A N/A N/A N/A at N/A N/A N/A AccessToken objects get user user client client scope scope expires__gt N/A now N/A N/A N/A N/A AccessToken DoesNotExist N/A N/A at N/A N/A self create_access_token request user scope client N/A N/A N/A self create_refresh_token request user scope at client N/A at N/A create_access_token N/A N/A self request user scope client N/A N/A N/A N/A N/A N/A AccessToken objects create user user client client scope scope N/A create_refresh_token N/A N/A self request user scope access_token client N/A N/A N/A N/A N/A N/A RefreshToken objects create user user access_token access_token client client N/A invalidate_grant N/A N/A self grant N/A N/A N/A N/A constants DELETE_EXPIRED N/A N/A N/A N/A grant delete N/A N/A N/A grant expires N/A N/A now N/A timedelta days 1 N/A N/A N/A grant save N/A invalidate_refresh_token N/A N/A self rt N/A N/A N/A N/A constants DELETE_EXPIRED N/A N/A N/A N/A rt delete N/A N/A N/A rt expired True N/A N/A N/A rt save N/A invalidate_access_token N/A N/A self at N/A N/A N/A N/A constants DELETE_EXPIRED N/A N/A N/A N/A at delete N/A N/A N/A at expires N/A N/A now N/A timedelta days 1 N/A N/A N/A at save N/A N/A