New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

django-canvas-api-token

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-canvas-api-token

Django app for generating Canvas API user oauth tokens

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

======================= django-canvas-api-token

A reusable django app for handling the workflow of generating per-user Canvas API oauth tokens. The app assumes that your django project is using the django_auth_lti <https://github.com/Harvard-University-iCommons/django-auth-lti>_ middleware.

Install

.. code-block:: bash

pip install django-canvas-api-token

Setup

  1. Add "canvas_api_token" to your INSTALLED_APPS settings
  2. Insert the url configuration into your project/app urls.py

.. code-block:: python

url(r'^canvas_api_token/', include('canvas_api_token.urls'))

3. Run python manage.py migrate to ensure db tables are initialized. 4. Use the admin site to create a canvas_dev_key entry using the consumer_key and developer key values from your Canvas consumer where ...

  • client_id is the integer client id value of your Canvas developer key <https://canvas.instructure.com/doc/api/file.oauth.html>_
  • client_secret is the random string 'secret' value of your Canvas developer key

License

django-canvas-api-token is licensed under the BSD license

2015 President and Fellows of Harvard College

.. :changelog:

Release History

0.1.0 (2014-12-17) ++++++++++++++++++

  • Birth!

0.1.1 (2014-12-18) ++++++++++++++++++

  • fixed download_url in setup.py

0.1.2 (2015-01-07) ++++++++++++++++++

  • fixed bug in utils.canvas_uri use of urlunparse
  • added unique index to CanvasApiToken.user_id

0.2.0 (2015-04-28) ++++++++++++++++++

DB storage of canvas developer keys

  • New model: CanvasDeveloperKey
  • enable admin site
  • make CanvasApiToken.user a foreign key into user model

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc