{"id":25433396,"url":"https://github.com/box-community/samples-docs-authenticate-with-jwt-api","last_synced_at":"2025-10-31T22:30:32.176Z","repository":{"id":37517611,"uuid":"155757449","full_name":"box-community/samples-docs-authenticate-with-jwt-api","owner":"box-community","description":"Samples for the \"Authenticate with JWT (API)\" guide","archived":false,"fork":false,"pushed_at":"2023-04-11T16:25:06.000Z","size":132,"stargazers_count":13,"open_issues_count":7,"forks_count":12,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-30T15:58:12.741Z","etag":null,"topics":["box","dotnet","java","jwt","node","python","ruby","samples"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/box-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-01T18:20:31.000Z","updated_at":"2024-06-20T19:27:16.000Z","dependencies_parsed_at":"2023-01-24T16:01:06.097Z","dependency_job_id":null,"html_url":"https://github.com/box-community/samples-docs-authenticate-with-jwt-api","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/box-community%2Fsamples-docs-authenticate-with-jwt-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box-community%2Fsamples-docs-authenticate-with-jwt-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box-community%2Fsamples-docs-authenticate-with-jwt-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/box-community%2Fsamples-docs-authenticate-with-jwt-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/box-community","download_url":"https://codeload.github.com/box-community/samples-docs-authenticate-with-jwt-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239236840,"owners_count":19604966,"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":["box","dotnet","java","jwt","node","python","ruby","samples"],"created_at":"2025-02-17T05:19:36.443Z","updated_at":"2025-02-17T05:19:37.100Z","avatar_url":"https://github.com/box-community.png","language":"C#","readme":"\u003cimg src=\"images/box-dev-logo-clip.png\" \nalt= “box-dev-logo” \nstyle=\"margin-left:-10px;\"\nwidth=40%;\u003e\n# Samples for \"Authenticate with JWT (API)\" guide\n\nThese are the samples that form the end result of this guide: [Authenticate with JWT (API)](https://developer.box.com/v2.0/docs/construct-jwt-claim-manually).\n\nFor more information on the steps in these samples, see the guide.\n\n## Running the samples\n\nFirst, ensure you have put your `config.json` at the root of this project. See the guide for more details.\n\n```bash\n# node\nnpm install jsonwebtoken axios\nnode sample.js\n\n# python\npip install pyjwt cryptography requests\npython sample.2.py # python 2\npython sample.3.py # python 3\n\n# java\ncd sample.java\nmvn install\nmvn package\nmvn dependency:copy-dependencies\njava -cp \"target/dependency/*:target/sample-1.0-SNAPSHOT.jar\" com.box.developer.App\n\n# c#\ncd sample.dotnet\ndotnet install\ndotnet run\n\n# ruby\ngem install jwt\nruby sample.rb\n\n# php\ncomposer install\nphp sample.php\n```\n\n## License\n\nThis project has been released under the [Apache 2 license](LICENSE).\n\n## Code of Conduct\n\nAll projects in this organization are governed by our [Code of Conduct](CODE_OF_CONDUCT.md).\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be\nreported by contacting the project team at [devrel@box.com](mailto:devrel@box.com). All\ncomplaints will be reviewed and investigated and will result in a response that\nis deemed necessary and appropriate to the circumstances. The project team is\nobligated to maintain confidentiality with regard to the reporter of an incident.\nFurther details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good\nfaith may face temporary or permanent repercussions as determined by other\nmembers of the project's leadership.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox-community%2Fsamples-docs-authenticate-with-jwt-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbox-community%2Fsamples-docs-authenticate-with-jwt-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbox-community%2Fsamples-docs-authenticate-with-jwt-api/lists"}