Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Client
LICENSE
LtiAdvantage.IdentityModel.csproj
README.md

README.md

LtiAdvantage.IdentityModel

LtiAdvantage.IdentityModel has an HttpClient extension method to request a token using JWT client credentials in the IMS recommended format for client-credentials grant.

.NET Standard

This library targets netstandard2.0 and uses IdentityModel.

Getting Started

var tokenResponse = await httpClient.RequestClientCredentialsTokenWithJwtAsync(
    new JwtClientCredentialsTokenRequest
    {
        Address = tokenEndPoint,
        Jwt = jwt,
        Scope = Constants.LtiScopes.NamesRoleReadonly
     });

There are two sample applications you can reference for ideas: