Lti_1p3.Tool.Services.NRPS (Lti 1p3 v0.6.0)

Implementation of LTI Names and Roles Provisioning Service (NRPS) version 2.0.

For information on the standard, see: https://www.imsglobal.org/spec/lti-nrps/v2p0

Link to this section Summary

Functions

Returns the context memberships URL from LTI launch params. If not present returns nil.

Returns true if nrps is enabled (that is, to allow a context membership query).

Returns the required scopes for the NRPS service.

Link to this section Functions

Link to this function

fetch_memberships(context_memberships_url, access_token)

Link to this function

get_context_memberships_url(lti_launch_params)

Returns the context memberships URL from LTI launch params. If not present returns nil.

Link to this function

nrps_enabled?(lti_launch_params)

Returns true if nrps is enabled (that is, to allow a context membership query).

Link to this function

required_scopes()

Returns the required scopes for the NRPS service.