Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sample LTI Advantage Platform.

License

NotificationsYou must be signed in to change notification settings

LtiLibrary/LtiAdvantagePlatform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is out of date

Sample LTI Advantage Platform using .NET Core 2.1. So that it has a purpose (other than as a reference code sample), you can use it totest LTI 1.3 Tools. There is a sample LTI Advantage Tool project overhere.

Supported Features

  • LTI 1.3 Core (launch)
    • Launch tools with or without a context (i.e. as an assignment or an admin tool), and as a teacher or a student.
  • Assignment and Grade Services v2
    • Tools can get all line items for a course, get a specific line item, and get results from the platform; and they can post scores to the platform.
  • Names and Role Provisioning Services v2
    • Tools can get course membership from the platform.
  • Deep Linking
    • Tools can add LTI links to the platform or course.

Dependencies

This web application is based on the current ASP.NET Core Web Application template for Razor Pages.Most of the application is dedicated to managing users of the app and the tools they will test. BecauseLTI Advantage uses OpenID Connect and OAuth to handle authorization and authentication, and ASP.NET Corehas great support for both, relatively little custom code is required launch, authorize, and serviceLTI 1.3 requests.

Microsoft.AspNetCore.AppThis package provides the framework for the web application, including user management. Each registereduser gets their own test platform, with a test course, and two test people (one student and one teacher).

IdentityServer4.AspNetIdentityThis package works with ASP.NET Core Identity to provide a robust OpenID Connect and OAuth 2.0 framework.In particular, Identity Server provides the Authorize and Access Token endpoints that are used by LTIAdvantage Tools, and checks to make sure the tool has the right permissions to use the LTI Advantageservices (e.g. Names and Role Provisioning Services).

System.IdentityModel.Tokens.JwtThis package provides some JSON Web Token functionality.

LtiAdvantageThis library makes implementing LTI Advantage with ASP.NET Core easier.

LtiAdvantage.IdentityServer4This library has an Identity Server 4 secret validator that understands the IMS recommended format ofclient-credentials grant, and impersonation support so that an application user can impersonate a platform user.

LtiAdvantage.IdentityModelThis library adds an HttpClient extension method to request a token using using the IMS recommendedformat of client-credentials grant.

Source Code Structure

Most of the code in this application is from the ASP.NET Core Web Application template for Razor Pages. Thisis a map of where to find the LTI specific stuff.

/ (Visual Studio solution file)└── src/    ├── Startup.cs (configure ASP.NET Core Identity and Identity Server 4)    ├── Areas/Identity/ (ASP.NET Core Identity user management; edit platform, course, and people)    ├── Controllers/ (API controllers that implement Assignment and Grade Services and Names and Role Provisioning Services)    ├── Data/ (database entities and Entity Framework Core migrations)    ├── Pages/        ├── DeepLinks (receives the deep links response)└── OidcLaunch (starts the LTI 1.3 launch process)    ├── Utility/        └── LtiAdvantageProfileService.cs (called by Identity Server to add LTI claims to the id_token for launch)    └── wwwroot/ (static website files)

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp