We’ve added three new tutorials to help you use some of the more popular Ably features:
- Presence Tutorial
- Browser Client & Server Token Authentication Tutorial
- Mobile Client & Server Token Authentication Tutorial
Presence Tutorial
Presence enables clients to be aware of other clients that are currently “present” on a channel. Each member present on a channel has a self-assigned name — a “client ID
” — along with an optional payload that can be used to describe the member’s status or attributes. Find out more about identified clients and authentication
Presence allows you to quickly build apps such as chat rooms and multiplayer games by automatically keeping track of who is present in real time across any device.
Presence resources
- Tracking connected clients with Presence
- User presence at scale
- Documentation - Core Features: Presence
Browser Client & Server Token Authentication Tutorial
Ably supports two types of authentication schemes. Basic authentication uses one of your private API keys and is the simplest scheme designed for use by your servers. Token authentication is mostly used by your client-side device and browser clients whereby a short-lived secure token is issued to them from your servers.
Mobile Client & Server Token Authentication Tutorial
Most of our other tutorials demonstrate the use of the simple basic authentication scheme. In this tutorial we are focusing how you can use the recommended token authentication scheme for your un-trusted clients.
Hope you find these tutorials useful. If there are others you would like which we have not yet covered then get in contact.