/plushcap/analysis/agora/connecting-to-agora-with-tokens-flutter

Connecting to Agora with Tokens — Flutter

What's this blog post about?

In this tutorial, we learn how to generate tokens for secure authentication in webRTC applications. Tokens are dynamic keys used when a user joins an RTC channel or logs into an RTM system. They need to be regenerated after a set interval of time (<24 hours). We can use our own server to generate tokens, or we can use the example provided in this tutorial. The token is linked with a channel name and UID, which distinguishes users in the channel. When a user's token is about to expire, Agora provides a callback function that allows us to generate a new token and renew it using the `renewToken()` method.

Company
Agora

Date published
April 27, 2021

Author(s)
Meherdeep Thakur

Word count
602

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.