lightbulb/services/nrps
Values
pub const context_membership_readonly_claim_url: String
pub fn fetch_memberships(
http_provider: HttpProvider,
context_memberships_url: String,
access_token: AccessToken,
) -> Result(List(Membership), String)
Fetches memberships from the NRPS service using the provided HTTP provider, context memberships URL, and access token.
pub fn get_membership_service_url(
lti_launch_claims: Dict(String, Dynamic),
) -> Result(String, String)
Returns the context memberships URL from the LTI launch claims.
pub fn nrps_available(
lti_launch_claims: Dict(String, Dynamic),
) -> Bool
Returns True if the NRPS service is available from the given launch claims.
pub const nrps_claim_url: String