Photon Chat UI Kit - How to use passwords

Hi, I don't know how to use passwords with the Photon Chat UI Kit.

In the instruction it says:

Events
1. Connect ( login as string or InputField ) - connects to the chat server and authorizes with specified login. Note that if you want to use password authorization you need to call Connect(ExitGames.Client.Photon.Chat.AuthenticationValues) from your code.

So what do I need to do? My players are logging with other players names and seeing their private messages etc. And this is a problem that I need passwords or something.

Comments