Skip to content

Brightspace/valence-sdk-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

valence-sdk-java

D2L Valence SDK for Java

Usage:

Create an Application context using your application key & secret given to you by D2L:

ID2LAppContext appContext = AuthenticationSecurityFactory
    .createSecurityContext("appId", "appKey", "https://school.desire2learn.com");

Redirect the user to the uri constructed by this, passing in the callback url:

appContext.createWebUrlForAuthentication(new URI("https://myhost.com/"));

Create a user context with the user's key & secret that was requisitioned from the redirect:

ID2LUserContext userContext = appContext.createUserContext("userId", "userKey");

Create the Authenticated URI from the user's context:

URI uri = userContext.createAuthenticatedUri("/d2l/api/lp/1.0/users/", "GET");

About

D2L Valence SDK for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages