https://github.com/cristalhq/paseto
PASETO in Go
https://github.com/cristalhq/paseto
go golang paseto paseto-tokens
Last synced: 11 months ago
JSON representation
PASETO in Go
- Host: GitHub
- URL: https://github.com/cristalhq/paseto
- Owner: cristalhq
- License: mit
- Created: 2023-12-01T12:28:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T08:15:34.000Z (about 2 years ago)
- Last Synced: 2024-04-14T08:07:13.358Z (about 2 years ago)
- Topics: go, golang, paseto, paseto-tokens
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# paseto
[![build-img]][build-url]
[![pkg-img]][pkg-url]
[![reportcard-img]][reportcard-url]
[![coverage-img]][coverage-url]
[![version-img]][version-url]
PASETO (Platform-Agnostic Security Tokens implementation) in Go [paseto](https://paseto.io).
See also JWT in Go [cristalhq/jwt](https://github.com/cristalhq/jwt).
## Features
* Simple API.
* Clean and tested code.
* Optimized for speed.
* Concurrent-safe.
See [docs][pkg-url] or [GUIDE.md](https://github.com/cristalhq/paseto/blob/main/GUIDE.md) for more details.
## Install
Go version 1.21+
```
go get github.com/cristalhq/paseto
```
## Example
```go
// TODO
```
See examples: [example_test.go](https://github.com/cristalhq/paseto/blob/main/example_test.go).
## License
[MIT License](LICENSE).
[build-img]: https://github.com/cristalhq/paseto/workflows/build/badge.svg
[build-url]: https://github.com/cristalhq/paseto/actions
[pkg-img]: https://pkg.go.dev/badge/cristalhq/paseto
[pkg-url]: https://pkg.go.dev/github.com/cristalhq/paseto
[reportcard-img]: https://goreportcard.com/badge/cristalhq/paseto
[reportcard-url]: https://goreportcard.com/report/cristalhq/paseto
[coverage-img]: https://codecov.io/gh/cristalhq/paseto/branch/main/graph/badge.svg
[coverage-url]: https://codecov.io/gh/cristalhq/paseto
[version-img]: https://img.shields.io/github/v/release/cristalhq/paseto
[version-url]: https://github.com/cristalhq/paseto/releases