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
File details
Details for the file mitol-django-digital-credentials-3.3.0.tar.gz
.
File metadata
- Download URL: mitol-django-digital-credentials-3.3.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b1e02057b1a756ffee879ac93def0705ad0ec34365ea981e6a6eeca02969d0d |
|
MD5 | b5fa5be590f3a9c0fe91274dfcdd1680 |
|
BLAKE2b-256 | 2b53c9eaf685576d2b5b901f665c0ac2d2aa65d000bd31fd87327ca4965b6860 |
File details
Details for the file mitol_django_digital_credentials-3.3.0-py3-none-any.whl
.
File metadata
- Download URL: mitol_django_digital_credentials-3.3.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e273240eea5e40f887f9ac61f76c29613a6f3d04f019e4a9c2758db615d6648c |
|
MD5 | c5b92ca267ff943c7f85c8a0f479ebca |
|
BLAKE2b-256 | c1eac7408a779c00cf75094b8ac7e9a8e648f383967a0cde51310c0cc947cd48 |