{"id":19432843,"url":"https://github.com/brightspace/valence-sdk-java","last_synced_at":"2025-04-24T20:31:14.973Z","repository":{"id":11411131,"uuid":"13860660","full_name":"Brightspace/valence-sdk-java","owner":"Brightspace","description":"D2L Valence SDK for Java","archived":false,"fork":false,"pushed_at":"2020-10-12T23:34:13.000Z","size":306,"stargazers_count":9,"open_issues_count":4,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-11T00:43:22.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Brightspace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-25T13:02:18.000Z","updated_at":"2023-03-28T21:55:53.000Z","dependencies_parsed_at":"2022-08-25T19:20:36.070Z","dependency_job_id":null,"html_url":"https://github.com/Brightspace/valence-sdk-java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fvalence-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fvalence-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fvalence-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fvalence-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brightspace","download_url":"https://codeload.github.com/Brightspace/valence-sdk-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223967340,"owners_count":17233376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T14:37:22.390Z","updated_at":"2024-11-10T14:37:23.110Z","avatar_url":"https://github.com/Brightspace.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"valence-sdk-java\n================\n\nD2L Valence SDK for Java\n\nUsage:\n\nCreate an Application context using your application key \u0026 secret given to you by D2L:\n```java\nID2LAppContext appContext = AuthenticationSecurityFactory\n    .createSecurityContext(\"appId\", \"appKey\", \"https://school.desire2learn.com\");\n```\nRedirect the user to the uri constructed by this, passing in the callback url:\n```java\nappContext.createWebUrlForAuthentication(new URI(\"https://myhost.com/\"));\n```\nCreate a user context with the user's key \u0026 secret that was requisitioned from the redirect:\n```java\nID2LUserContext userContext = appContext.createUserContext(\"userId\", \"userKey\");\n```\nCreate the Authenticated URI from the user's context:\n```java\nURI uri = userContext.createAuthenticatedUri(\"/d2l/api/lp/1.0/users/\", \"GET\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightspace%2Fvalence-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrightspace%2Fvalence-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightspace%2Fvalence-sdk-java/lists"}