Types of tokens

Rivet heavily relies on different types of tokens for controlling access to the API. Token are portable and flexible, which lets you use our API in whatever way works best for your project. Tokens often contain information about who is making the request, such as the player ID or the game namespace.

The token label is the text before the first . in the token. For example, in the token player.eyJ0eXAi.foo.bar, the label is player.

Rivet tokens are a variation on the JWT spec that uses Protobufs under the hood & include a label to help you identify the token. We don't provide a public way of inspecting the token at the moment.

Read more at https://rivet.gg/docs/general/errors/token/invalid.


Generic

Namespace Public

Label: pub_{your namespace id}

Namespace Development

Label: dev_{your namespace id}


Matchmaker

Matchmaker Lobby

Label: lobby

Matchmaker Player

Label: player

Matchmaker Development Player

Label: dev_player


Cloud

Cloud

Label: cloud

Label: device


Rivet

Open-source multiplayer infrastructure. Easy, flexible, and affordable.

This website is not sponsored by or affiliated with Unity Technologies or its affiliates. Unity Trademark(s) are trademark(s) or registered trademark(s) of Unity Technologies or its affiliates in the U.S. and elsewhere. | This website is not sponsored by, affiliated with, or endorsed by Epic Games, Inc. or its affiliates. 'Unreal Engine' is a trademark or registered trademark of Epic Games, Inc. in the U.S. and elsewhere. | The HTML5 Logo by the World Wide Web Consortium (W3C), used under a Creative Commons Attribution 3.0 License. Source | The Godot Engine Logo by the Andrea Calabró, used under a Creative Commons Attribution 4.0 International License. Source | Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein.

© 2024 Rivet Gaming, Inc. All rights reserved.