ltiapi.models#

Module Contents#

Classes#

OneOffRegistrationLink

Course

LTIUser

User model for LTI.

Data#

INSTRUCTOR_ROLE

SYS_ADMIN_ROLE

INSTITUTION_ADMIN_ROLE

SUPERIOR_ROLES

API#

Bases: django.db.models.Model

id#

None

consumer_name#

None

registered_consumer#

None

consumer_registration_timestamp#

None

get_uri(request: django.http.HttpRequest)#
registration_complete(consumer: pylti1p3.contrib.django.lti1p3_tool_config.models.LtiTool)#
class ltiapi.models.Course#

Bases: django.db.models.Model

course_id#

None

lms#

None

label#

None

title#

None

type#

None

locale#

None

document_target#

None

return_url#

None

tool_title#

None

tool_description#

None

tool_id#

None

class Meta#
constraints#

None

__str__() str#
class ltiapi.models.LTIUser#

Bases: django.contrib.auth.models.AbstractUser

User model for LTI.

For Authentification

id#

None

registered_via#

None

course#

None

lms_username#

None

class Meta#

Bases: django.contrib.auth.models.AbstractUser.Meta

constraints#

None

ltiapi.models.INSTRUCTOR_ROLE#

‘membership#Instructor’

ltiapi.models.SYS_ADMIN_ROLE#

‘system/person#Administrator’

ltiapi.models.INSTITUTION_ADMIN_ROLE#

‘institution/person#Administrator’

ltiapi.models.SUPERIOR_ROLES#

None