C# Class LtiLibrary.AspNet.ContentItems.ContentItemsClient

Mostra file Open project: easygenerator/LtiLibrary

Public Methods

Method Description
CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data ) : LtiRequestViewModel

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.

CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data, string ltiErrorLog, string ltiErrorMsg, string ltiLog, string ltiMsg ) : LtiRequestViewModel

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.

Method Details

CreateContentItemSelectionViewModel() public static method

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.
public static CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data ) : LtiRequestViewModel
url string The content_item_return_url from the content-item message.
consumerKey string The OAuth consumer key to use to sign the request.
consumerSecret string The OAuth consumer secret to use to sign the request.
contentItems LtiLibrary.Core.ContentItems.ContentItemSelectionGraph The ContentItemPlacementResponse to send.
data string The data received in the original content-item message.
return LtiLibrary.AspNet.Lti1.LtiRequestViewModel

CreateContentItemSelectionViewModel() public static method

Create an LtiRequestViewModel that contains a ContentItemPlacementResponse.
public static CreateContentItemSelectionViewModel ( string url, string consumerKey, string consumerSecret, ContentItemSelectionGraph contentItems, string data, string ltiErrorLog, string ltiErrorMsg, string ltiLog, string ltiMsg ) : LtiRequestViewModel
url string The content_item_return_url from the content-item message.
consumerKey string The OAuth consumer key to use to sign the request.
consumerSecret string The OAuth consumer secret to use to sign the request.
contentItems LtiLibrary.Core.ContentItems.ContentItemSelectionGraph The ContentItemPlacementResponse to send.
data string The data received in the original content-item message.
ltiErrorLog string Optional plain text error message to be logged by the Tool Consumer.
ltiErrorMsg string Optional plain text error message to be displayed by the Tool Consumer.
ltiLog string Optional plain text message to be logged by the Tool Consumer.
ltiMsg string Optional plain text message to be displayed by the Tool Consumer.
return LtiLibrary.AspNet.Lti1.LtiRequestViewModel