Skip to main content

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 middleware.

Install

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

url(r'^canvas_api_token/', include('canvas_api_token.urls'))
  1. Run python manage.py migrate to ensure db tables are initialized.

  2. 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

  • client_secret is the random string ‘secret’ value of your Canvas developer key

License

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

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

Metadata

Release files for django-canvas-api-token 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for django-canvas-api-token 0.2.0
File Interpreter ABI Platform
django_canvas_api_token-0.2.0-py2-none-any.whl Python 2 none any Details

Release files / django_canvas_api_token-0.2.0-py2-none-any.whl

Download URL django_canvas_api_token-0.2.0-py2-none-any.whl
Size 10.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
62e7f66637b0f9681433fef655b6e9d7f4b3f59aa3ab637a4340337c7b0dce06
BLAKE2b-256 checksum
How to use checksums
8040750b6fec3df04aad175d63577aedac374a9d0589daac3099a35c61320dfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-canvas-api-token 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page