Structsยง
- Auth
Proof ๐ - Proves
verifyaccepted a JWT under the supplied key. - Http
Disconnect Claims - Http
Room Claims - Numeric
Date - RFC 7519 seconds since the Unix epoch with subsecond precision.
- Registered
JwtClaims - Registered JWT claims from RFC 7519 section 4.1.
- WebSocket
Connect Claims
Enumsยง
Constantsยง
- MAX_
IAT_ ๐FUTURE_ SKEW - Local skew guard for
iat. - MAX_
JWT_ TOKEN_ BYTES
Functionsยง
- decode_
jwt_ ๐segment - decode_
key ๐ - decode_
unverified_ ๐claims - decode untrusted JWT claims for candidate room selection only
- derive_
key_ ๐from_ seed - duration_
since_ ๐epoch - pad_
base64 ๐ - sign
- Errors
- sign_
hs256 ๐ - split_
token ๐ - validate_
registered_ ๐claims - validate_
registered_ ๐claims_ at - validate_
token_ ๐length - verify
- Errors
- verify_
hs256 ๐ - verify_
with_ ๐proof - Returns verified claims with proof or the
AuthenticationErrorfromverify.
Type Aliasesยง
- Hmac
Sha256 ๐