Skip to content

Commit

Permalink
chore: Moved jwt file to openedx.core.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuma committed Jan 15, 2025
1 parent 89a4ba5 commit b4ab13b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lms/djangoapps/courseware/views/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
)
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
Expand Down Expand Up @@ -138,6 +137,7 @@
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
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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
Expand Down

0 comments on commit b4ab13b

Please sign in to comment.