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.12.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf745e99a4c3af4d6c3489107758ba5474918c1b9bd7c66be5bd91cc99020c56 |
|
MD5 | bb5c2d1b45bafc033086876a34a3a1ee |
|
BLAKE2b-256 | 7fac37f82b19697e22500b3df3547ca9f72b02a3416875d795f38906168a409d |
Close
Hashes for mitol_django_digital_credentials-2023.12.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db759adf706940e6134bf5cf5faf73bd3e922aeb620664bf27672ef627f6a48b |
|
MD5 | b893368ba4665e2540831fbee5488537 |
|
BLAKE2b-256 | eb394cda65bfa4d4b0bcb4beb6fe611cd1155b9d5799ffd83d7d299363ca1369 |