aboutsummaryrefslogtreecommitdiff
path: root/lib/paseto/v4/local_mode_example_test.go
AgeCommit message (Collapse)Author
2026-03-30paseto/v4: improve examples by splitting example and packageShulhan
By not using the same package name in example, we can see how the package actually used in real code. For instance, we can know that constant publicHeader should be exported so it could be used by Unpack method.
2026-03-29paseto/v4: implements local protocol for paseto version 4Shulhan
paseto/v4 provides a simple, ready to use, opinionated implementation of Platform-Agnostic SEcurity TOkens (PASETO) version 4 as defined in [paseto-v4]. [paseto-v4]: https://github.com/paseto-standard/paseto-spec/blob/master/docs/01-Protocol-Versions/Version4.md