{"id":20329006,"url":"https://github.com/affix/vala-jwt","last_synced_at":"2025-06-27T13:33:07.702Z","repository":{"id":141497766,"uuid":"168022713","full_name":"affix/vala-jwt","owner":"affix","description":"A native Vala JWT Client with HS256 Support","archived":false,"fork":false,"pushed_at":"2019-01-28T19:29:14.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T14:59:37.629Z","etag":null,"topics":["hmac","hmac-sha256","json","jwt","jwt-token","vala"],"latest_commit_sha":null,"homepage":null,"language":"Vala","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/affix.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":"2019-01-28T19:28:07.000Z","updated_at":"2019-01-28T23:18:18.000Z","dependencies_parsed_at":"2023-07-03T15:31:51.448Z","dependency_job_id":null,"html_url":"https://github.com/affix/vala-jwt","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/affix%2Fvala-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/affix%2Fvala-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/affix%2Fvala-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/affix%2Fvala-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/affix","download_url":"https://codeload.github.com/affix/vala-jwt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844286,"owners_count":20029611,"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":["hmac","hmac-sha256","json","jwt","jwt-token","vala"],"created_at":"2024-11-14T20:09:03.307Z","updated_at":"2025-03-04T11:47:26.968Z","avatar_url":"https://github.com/affix.png","language":"Vala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JWT Vala Library\n\nA Native Vala Minimal JWT Library\n## Build Requirements\n\n- Vala\n\n## Usage\n\n```\nusing JWT;\n\nclass demo {\n\n  public static int main(string[] args) {\n    string key = \"secret\";\n    string payload = \"{\\\"sub\\\":\\\"1234567890\\\",\\\"name\\\":\\\"John Doe\\\",\\\"admin\\\":true}\";\n    string header = \"{\\\"alg\\\":\\\"HS256\\\",\\\"typ\\\":\\\"JWT\\\"}\";\n\n    var jwt = new Jwt();\n    stdout.printf(jwt.encode(header, payload, key));\n    return 0;\n  }\n\n}\n```\n\n## Build Instructions\n\nvalac JWT/jwt.vala demo.vala -o demo\n\n## Demo\n\nThe demo application is pre-configures with a plaintext secret `secret`\n\n```\n✗ valac JWT/jwt.vala demo.vala -o demo\n✗ ./demo\neyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ\n```\n\nValidate with [JWT.io](https://jwt.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faffix%2Fvala-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faffix%2Fvala-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faffix%2Fvala-jwt/lists"}