{"id":29616673,"url":"https://github.com/jimyag/token","last_synced_at":"2025-07-21T01:02:03.967Z","repository":{"id":57659930,"uuid":"467933984","full_name":"jimyag/token","owner":"jimyag","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-09T14:04:13.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T02:08:17.719Z","etag":null,"topics":["go","jwt","jwt-go","paseto"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jimyag.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":"2022-03-09T13:16:36.000Z","updated_at":"2022-03-09T14:05:53.000Z","dependencies_parsed_at":"2022-09-17T06:20:42.477Z","dependency_job_id":null,"html_url":"https://github.com/jimyag/token","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jimyag/token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimyag%2Ftoken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimyag%2Ftoken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimyag%2Ftoken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimyag%2Ftoken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimyag","download_url":"https://codeload.github.com/jimyag/token/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimyag%2Ftoken/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266222295,"owners_count":23894992,"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":["go","jwt","jwt-go","paseto"],"created_at":"2025-07-21T01:02:03.348Z","updated_at":"2025-07-21T01:02:03.934Z","avatar_url":"https://github.com/jimyag.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# token\n\ntoken 是一个封装常用基于 token 验证的工具，包含了JWT和PASETO两种实现，如果要实现自己的token，可以参考\n[github](https://github.com/jimyag/token/blob/main/my_loacl_maker.go) 中的实现。\n\n关于JWT的缺点以及PASETO的优势可以查看这篇[文章](https://jimyag.cn/posts/d5376d72/#more)\n\n# 参考\n\n[o1egl/paseto: Platform-Agnostic Security Tokens implementation in GO (Golang) (github.com)](https://github.com/o1egl/paseto)\n\n[dgrijalva/jwt-go: ARCHIVE - Golang implementation of JSON Web Tokens (JWT). This project is now maintained at: (github.com)](https://github.com/dgrijalva/jwt-go)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimyag%2Ftoken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimyag%2Ftoken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimyag%2Ftoken/lists"}