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 learnerLearnerDID
- 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
- Requires OAuth2 authentication provided by
Getting started
pip install mitol-django-digital-credentials
Add the digital credentials app:
INSTALLED_APPS = [
...
"mitol.digitalcredentials.apps.DigitalCredentialsApp",
]
Settings
Common Django settings
SITE_BASE_URL
- the website's host url, including the protocol (e.g. "https://example.com/")
Digital Credentials app settings
MITOL_DIGITAL_CREDENTIALS_VERIFY_SERVICE_BASE_URL
- the base url for the hostedsign-and-verify
serviceMITOL_DIGITAL_CREDENTIALS_BUILD_CREDENTIAL_FUNC
- a function to build the credential document
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mitol-django-digital-credentials-2023.1.17.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 401015d268a1482235fc14f8ac7345571e19fbcd967c6e98ca521873ca7b2360 |
|
MD5 | ffeb0b8423d1abc3a72fac9da3aecd5e |
|
BLAKE2b-256 | 1f78111826938ca57c048d9406c8d661a779d4f30eebc8ae1a44e820348ce7b5 |
Close
Hashes for mitol_django_digital_credentials-2023.1.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d96089ad115c2981cf5154d9976998dea8d709240bed50d6a53e3fad0aab2044 |
|
MD5 | 7ec75a6412bea4abd098214f4950eedf |
|
BLAKE2b-256 | f9aefdddceee2f533703eeb62417c0e2df6260d8984825334fc7b9e5531f0673 |