Skip to main content

Django application to support digital credentials

Project description

mitol-django-digital-credentials

This is the Open Learning Django Digital Credentials app. Provides the following functionality:

  • Data models:
    • DigitalCredentialRequest - a one-time use credential request that is bound to a courseware object and a learner
    • LearnerDID - a record of which DID(s) are bound to any given user. This guarantees we won't allow a DID to be used for a different user once bound.
    • DigitalCredential - a record of the signed digital credential, the courseware object, and the learner whom it is for
  • Django admin UI for these models
  • /credentials/request/<uuid>/ API for requesting credentials
    • Requires OAuth2 authentication provided by django-oauth-toolkit

Getting started

pip install mitol-django-digital-credentials

Add the digital credentials app:

INSTALLED_APPS = [
    ...
    "mitol.digitalcredentials.apps.DigitalCredentialsApp",
]

Settings

Common Django settings

Digital Credentials app settings

  • MITOL_DIGITAL_CREDENTIALS_VERIFY_SERVICE_BASE_URL - the base url for the hosted sign-and-verify service
  • MITOL_DIGITAL_CREDENTIALS_BUILD_CREDENTIAL_FUNC - a function to build the credential document

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mitol-django-digital-credentials-3.3.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file mitol-django-digital-credentials-3.3.0.tar.gz.

File metadata

File hashes

Hashes for mitol-django-digital-credentials-3.3.0.tar.gz
Algorithm Hash digest
SHA256 1b1e02057b1a756ffee879ac93def0705ad0ec34365ea981e6a6eeca02969d0d
MD5 b5fa5be590f3a9c0fe91274dfcdd1680
BLAKE2b-256 2b53c9eaf685576d2b5b901f665c0ac2d2aa65d000bd31fd87327ca4965b6860

See more details on using hashes here.

File details

Details for the file mitol_django_digital_credentials-3.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mitol_django_digital_credentials-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e273240eea5e40f887f9ac61f76c29613a6f3d04f019e4a9c2758db615d6648c
MD5 c5b92ca267ff943c7f85c8a0f479ebca
BLAKE2b-256 c1eac7408a779c00cf75094b8ac7e9a8e648f383967a0cde51310c0cc947cd48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page