moq-auth
The authorization contract for Media over QUIC: the request a relay sends per session, the grant an auth server answers with, the lease a session holds, the HTTP client that drives it, and the JWT a client presents in its query.
For the contract, the relay flags, and worked examples, see Authentication Documentation.
Grants and claims name paths with patterns: foo is one broadcast, foo/** is
a subtree, ** is everything.
Quick Usage (symmetric keys)
# generate secret key
# sign a new JWT
# verify the JWT
Quick Usage (asymmetric keys)
# generate private and public keys
# sign a new JWT (using private key)
# verify the JWT (using public key)