An open API service indexing awesome lists of open source software.

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

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