Create/validate/read authorization token.
- JWT
- Google Macaroons
- install/upgrade pnpm:
curl -L https://unpkg.com/@pnpm/self-installer | PNPM_VERSION=next node
- from the repository root folder run:
./bin/install-deps
to install/up(dat|grad)e dependencies - install google
flatbuffers
via your package manager (currentflatc --version
gives1.11.0
)
- a Client (
CLI
) application that requires access to a protected Resource (PRES
) - a protected Resource (
PRES
) which is usually an HTTPS or Secure WebSocket server - a Token Server (
TS
) which is responsible for giving outTokens
to aCLI
for it to be able to authenticate/authorize itself atPRES
- a Certificate (
CERT
) of some kind with which theCLI
authenticates at theTS
to obtain a new Token
- JWT: JSON
- Google Macaroons: flatbuffers