chore: Moved jwt file to openedx.core.lib
This commit is contained in:
@@ -91,7 +91,6 @@ from lms.djangoapps.courseware.courses import (
|
||||
)
|
||||
from lms.djangoapps.courseware.date_summary import verified_upgrade_deadline_link
|
||||
from lms.djangoapps.courseware.exceptions import CourseAccessRedirect, Redirect
|
||||
from lms.djangoapps.courseware.jwt import unpack_jwt
|
||||
from lms.djangoapps.courseware.masquerade import is_masquerading_as_specific_student, setup_masquerade
|
||||
from lms.djangoapps.courseware.model_data import FieldDataCache
|
||||
from lms.djangoapps.courseware.models import BaseStudentModuleHistory, StudentModule
|
||||
@@ -138,6 +137,7 @@ from openedx.core.djangoapps.video_config.toggles import PUBLIC_VIDEO_SHARE
|
||||
from openedx.core.djangoapps.zendesk_proxy.utils import create_zendesk_ticket
|
||||
from openedx.core.djangolib.markup import HTML, Text
|
||||
from openedx.core.lib.courses import get_course_by_id
|
||||
from openedx.core.lib.jwt import unpack_jwt
|
||||
from openedx.core.lib.mobile_utils import is_request_from_mobile_app
|
||||
from openedx.features.course_duration_limits.access import generate_course_expired_fragment
|
||||
from openedx.features.course_experience import course_home_url
|
||||
|
||||
@@ -7,7 +7,7 @@ from django.conf import settings
|
||||
from jwkest import BadSignature, Expired, Invalid, MissingKey, jwk
|
||||
from jwkest.jws import JWS
|
||||
|
||||
from lms.djangoapps.courseware.jwt import _encode_and_sign, create_jwt, unpack_jwt
|
||||
from openedx.core.lib.jwt import _encode_and_sign, create_jwt, unpack_jwt
|
||||
|
||||
|
||||
test_user_id = 121
|
||||
@@ -80,9 +80,6 @@ boto3==1.36.3
|
||||
# ora2
|
||||
botocore==1.36.3
|
||||
# via
|
||||
# -r requirements/edx/kernel.in
|
||||
# boto3
|
||||
# s3transfer
|
||||
bridgekeeper==0.9
|
||||
# via -r requirements/edx/kernel.in
|
||||
cachecontrol==0.14.2
|
||||
@@ -1213,7 +1210,7 @@ uritemplate==4.1.1
|
||||
# drf-spectacular
|
||||
# drf-yasg
|
||||
# google-api-python-client
|
||||
urllib3==1.26.20
|
||||
urllib3==2.2.3
|
||||
# via
|
||||
# -c requirements/edx/../common_constraints.txt
|
||||
# botocore
|
||||
|
||||
@@ -2170,7 +2170,7 @@ uritemplate==4.1.1
|
||||
# drf-spectacular
|
||||
# drf-yasg
|
||||
# google-api-python-client
|
||||
urllib3==1.26.20
|
||||
urllib3==2.2.3
|
||||
# via
|
||||
# -c requirements/edx/../common_constraints.txt
|
||||
# -r requirements/edx/doc.txt
|
||||
|
||||
@@ -1527,7 +1527,7 @@ uritemplate==4.1.1
|
||||
# drf-spectacular
|
||||
# drf-yasg
|
||||
# google-api-python-client
|
||||
urllib3==1.26.20
|
||||
urllib3==2.2.3
|
||||
# via
|
||||
# -c requirements/edx/../common_constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
|
||||
@@ -1613,7 +1613,7 @@ uritemplate==4.1.1
|
||||
# drf-spectacular
|
||||
# drf-yasg
|
||||
# google-api-python-client
|
||||
urllib3==1.26.20
|
||||
urllib3==2.2.3
|
||||
# via
|
||||
# -c requirements/edx/../common_constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
|
||||
Reference in New Issue
Block a user