{"id":13589617,"url":"https://github.com/sha3sha3/UE-EasyJWT","last_synced_at":"2025-04-08T09:33:31.282Z","repository":{"id":40353399,"uuid":"415519869","full_name":"sha3sha3/UE-EasyJWT","owner":"sha3sha3","description":"JWT wrapper (Engine Sub-system) for Unreal Engine.","archived":false,"fork":false,"pushed_at":"2024-06-01T10:05:02.000Z","size":538,"stargazers_count":19,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T16:32:00.393Z","etag":null,"topics":["authentication","cpp","dss-plugin","jwt","jwt-authentication","mmo","unreal-engine","unreal-engine-4","unreal-engine-5","unrealengine"],"latest_commit_sha":null,"homepage":"https://www.unrealengine.com/marketplace/en-US/product/easy-jwt","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sha3sha3.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-10T07:49:00.000Z","updated_at":"2024-06-01T10:05:06.000Z","dependencies_parsed_at":"2024-01-16T22:18:08.233Z","dependency_job_id":"4e4cfd86-3119-45fa-8f79-dc61d8ea7550","html_url":"https://github.com/sha3sha3/UE-EasyJWT","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha3sha3%2FUE-EasyJWT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha3sha3%2FUE-EasyJWT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha3sha3%2FUE-EasyJWT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sha3sha3%2FUE-EasyJWT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sha3sha3","download_url":"https://codeload.github.com/sha3sha3/UE-EasyJWT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223314251,"owners_count":17125037,"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":["authentication","cpp","dss-plugin","jwt","jwt-authentication","mmo","unreal-engine","unreal-engine-4","unreal-engine-5","unrealengine"],"created_at":"2024-08-01T16:00:32.264Z","updated_at":"2024-11-06T09:31:16.275Z","avatar_url":"https://github.com/sha3sha3.png","language":"C++","funding_links":[],"categories":["Utilities","Game Development"],"sub_categories":["Unreal Engine: Resources"],"readme":"# This project is no longer maintained on GitHub, but you may obtain the latest maintained version on [Unreal Marketplace](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt). \n\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://discord.com/invite/MtGpAdM\"\u003e\n    \u003cimg src=\"Resources/Icon128.png\" alt=\"EasyKafakLogo\" width=\"200\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  Json Web Tokens for Unreal Engine 4/5\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n# EasyJwt subsystem\n\nEasyJwt is a JSON web tokens engine sub-system for Unreal Engine 4/5, that provides a c++ and bluprint interface to Generate, Sign, Verify and manage claims of JWT.\n\n# Supported Platforms\n\n - Windows x86_64\n - Hololens 2 (Windows ARM64)\n - Linux x86_64\n - Linux ARM64\n\n# C++ Modules Link\n\nLink the plugin modules to your project through `\u003cYourModule\u003e.build.cs`:\n\n```cs\nbEnableExceptions = true;//we are using exceptions\n\n PrivateDependencyModuleNames.AddRange( new string[]\n{\n    \"EasyJwt\",\n    \"JwtCpp\",\n    \"JwtVerifier\",\n    \"JwtGenerator\"\n});\n```\n# JWT Generator Basic Usage\n\n## C++\nInitialize the Generator\n\n```cpp\n#include \"EasyJwtSubsystem.h\"\n\nTSharedPtr\u003cFEasyJwtModule\u003e EasyJwt = GEngine-\u003eGetEngineSubsystem\u003cUEasyJwtSubsystem\u003e()-\u003eGetEasyJwt();\nEasyJwt-\u003eGetGenerator()-\u003eInitGenerator(`\u003cSIGNING_KEY\u003e`, EGeneratorAlgorithm::HS256);\n```\n\nGenerate Signed Token Basic Example:\n\n```cpp\n#include \"EasyJwtSubsystem.h\"\n\nTSharedPtr\u003cFEasyJwtModule\u003e EasyJwt = GEngine-\u003eGetEngineSubsystem\u003cUEasyJwtSubsystem\u003e()-\u003eGetEasyJwt();\n\nTMap\u003cFString, FString\u003e Claims =\n{\n\t{\"Claim1\",\"34235\"},\n\t{\"Claim2\",\"dfgds\"}\n};\n\nTMap\u003cFString, FString\u003e HeaderClaims =\n{\n\t{\"HeaderClaim1\",\"345343\"},\n\t{\"HeaderClaim2\",\"jhgfdrtt\"}\n};\n/*\nValid since generating it and for 900sec with the givem claims.\n*/\nFString JwtToken = EasyJwt-\u003eGetGenerator()-\u003eGenerateJwtToken(true, 0, 900, Claims, HeaderClaims);\n```\n## Blueprint\n\nInitialize the Generator\n\n\u003cimg src=\"Images/InitGenerator.png\" alt=\"InitGenerator\"\u003e\n\nGenerate Signed Toker\n\n\u003cimg src=\"Images/GenerateToken.png\" alt=\"GenerateToken\"\u003e\n\nBlueprint API\n\n\u003cimg src=\"Images/GeneratorBp.png\" alt=\"GeneratorBp\"\u003e\n\n# JWT Verifier Basic Usage\n\n## C++\nInitialize the Verifier\n\n```cpp\n#include \"EasyJwtSubsystem.h\"\n\nTSharedPtr\u003cFEasyJwtModule\u003e EasyJwt = GEngine-\u003eGetEngineSubsystem\u003cUEasyJwtSubsystem\u003e()-\u003eGetEasyJwt();\n\nEasyJwt-\u003eGetVerifier()-\u003eInitVerifier(`\u003cSIGNING_KEY\u003e`, EVerifierAlgorithm::HS256);\n```\n\nVerify a Token\n\n```cpp\n#include \"EasyJwtSubsystem.h\"\n\nTSharedPtr\u003cFEasyJwtModule\u003e EasyJwt = GEngine-\u003eGetEngineSubsystem\u003cUEasyJwtSubsystem\u003e()-\u003eGetEasyJwt();\n\nbool bValid = EasyJwt-\u003eGetVerifier()-\u003eVerifyJWT(`\u003cTOKEN_TO_VERIFY\u003e`);\n```\n\nGet Claims From JWT\n\n```cpp\n#include \"EasyJwtSubsystem.h\"\n\nTSharedPtr\u003cFEasyJwtModule\u003e EasyJwt = GEngine-\u003eGetEngineSubsystem\u003cUEasyJwtSubsystem\u003e()-\u003eGetEasyJwt();\n\nTMap\u003cFString, FString\u003e Claims = EasyJwt-\u003eGetVerifier()-\u003eGetClaims(`\u003cJWT\u003e`);\n```\n\n## Blueprint\n\nInitialize the Verifier\n\n\u003cimg src=\"Images/InitVerifier.png\" alt=\"InitVerifier\"\u003e\n\nVerify a Token\n\n\u003cimg src=\"Images/VerifyToken.png\" alt=\"GenerateToken\"\u003e\n\nExtract Claims From a JWT\n\n\u003cimg src=\"Images/GetClaims.png\" alt=\"Claims\"\u003e\n\nBlueprint API\n\n\u003cimg src=\"Images/VerifierBp.png\" alt=\"VerifierBp\"\u003e\n\n\n## Supported Algorithms\n\n - HS256\n - HS348\n - HS512\n - RS256\n - RS384\n - RS512\n - ES256 [Unreal Marketplace version only](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt)\n - ES384 [Unreal Marketplace version only](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt)\n - ES512 [Unreal Marketplace version only](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt)\n - PS256 [Unreal Marketplace version only](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt)\n - PS384 [Unreal Marketplace version only](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt)\n - PS512 [Unreal Marketplace version only](https://www.unrealengine.com/marketplace/en-US/product/easy-jwt)\n\nMore to come soon!!\n\n## Find it helpful?\n\nGive us a ⭐️!\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha3sha3%2FUE-EasyJWT","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsha3sha3%2FUE-EasyJWT","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha3sha3%2FUE-EasyJWT/lists"}