LiveKit.TokenVerifier (LiveKit v0.1.1)

View Source

Verifies LiveKit access tokens.

Summary

Functions

Verifies a JWT token with the given API secret.

Verifies a JWT token and returns the claims if valid, raises an error otherwise.

Functions

verify(token, api_secret)

Verifies a JWT token with the given API secret.

verify!(token, api_secret)

Verifies a JWT token and returns the claims if valid, raises an error otherwise.