Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
"
},
{
"type": "link",
"url": "https://www.youtube.com/watch?v=corV3-WsIro",
"embed": {
"html": ""
},
"window": {
"targetName": "youtube-corV3-WsIro",
"windowFeatures": "height=560,width=315,menubar=no"
},
"iframe": {
"width": 560,
"height": 315,
"src": "https://www.youtube.com/embed/corV3-WsIro"
}
},
{
"type": "image",
"url": "https://www.example.com/image.png",
"https://www.example.com/resourceMetadata": {
"license": "CCBY4.0"
}
},
{
"type": "ltiResourceLink",
"title": "A title",
"text": "This is a link to an activity that will be graded",
"url": "https://lti.example.com/launchMe",
"icon": {
"url": "https://lti.example.com/image.jpg",
"width": 100,
"height": 100
},
"thumbnail": {
"url": "https://lti.example.com/thumb.jpg",
"width": 90,
"height": 90
},
"lineItem": {
"scoreMaximum": 87,
"label": "Chapter 12 quiz",
"resourceId": "xyzpdq1234",
"tag": "originality"
},
"available": {
"startDateTime": "2018-02-06T20:05:02Z",
"endDateTime": "2018-03-07T20:05:02Z"
},
"submission": {
"endDateTime": "2018-03-06T20:05:02Z"
},
"custom": {
"quiz_id": "az-123",
"duedate": "$Resource.submission.endDateTime"
},
"window": {
"targetName": "examplePublisherContent"
},
"iframe": {
"height": 890
}
},
{
"type": "file",
"title": "A file like a PDF that is my assignment submissions",
"url": "https://my.example.com/assignment1.pdf",
"mediaType": "application/pdf",
"expiresAt": "2018-03-06T20:05:02Z"
},
{
"type": "https://www.example.com/custom_type",
"data": "somedata"
}
],
"https://purl.imsglobal.org/spec/lti-dl/claim/data": "csrftoken:c7fbba78-7b75-46e3-9201-11e6d5f36f53"
}
*/
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class DeepLinkResponse extends BaseJWT {
@JsonProperty("https://purl.imsglobal.org/spec/lti/claim/deployment_id")
public String deployment_id;
@JsonProperty("https://purl.imsglobal.org/spec/lti/claim/message_type")
public String message_type = "LtiDeepLinkingResponse";
@JsonProperty("https://purl.imsglobal.org/spec/lti/claim/version")
public String version = "1.3.0";
@JsonProperty("https://purl.imsglobal.org/spec/lti-dl/claim/content_items")
public List content_items = new ArrayList();
// Yup this is weird - nonce is not a jwt concept in general
// but DeepLinkResponse strangely requires it... - Learned at D2L
// D2L does not like it on JWTs when requesting a token it is not
// in BaseJWT - but instead here and elsewhere only where required
@JsonProperty("nonce")
public String nonce;
@JsonProperty("https://purl.imsglobal.org/spec/lti-dl/claim/data")
public String data;
// Constructor
public DeepLinkResponse() {
super();
this.nonce = this.jti;
}
}