User texture or an empty texture for unknwon users or users without textures. Name of user or empty string for unknown id. True if information is present, false to fall through. Want murmur to take care of this information itself, simply return false to fall through. This is used to retrieve information like email address, keyhash etc. He would often mumble and intertwine sentences together, making it almost. bool getInfo(int id, out UserInfoMap info)įetch information about a user. Sasha chose to interview a parent from a student that was in her class 2 years. 3 for authentication failures where the data could (temporarily) not be verified. UserID of authenticated user, -1 for authentication failures, -2 for unknown user (fallthrough), List of groups on the root channel that the user will be added to for the duration of the connection. Set this to change the username from the supplied one. True if certificate was valid and signed by a trusted CA. Hash of user certificate, as used by murmur internally when matching. List of der encoded certificates the user connected with. If the connecting user is not registered, the connecting user is notĪllowed to join the server. If the connecting user is registered, the other username is Murmur checks if a username is in use whenĪ user connects. Internally, Murmur treats usernames as case-insensitive. Should only be trusted if certstrong is true. The data in the certificate (name, email addresses etc), as well as the list of signing certificates, The username and id so it cannot be used for normal database authentication. Note that if authentication succeeds, murmur will create a record of the user in it's database, reserving Method to fall through to normal database authentication. If you do not know the username in question, always return -2 from this Operations int authenticate(string name, string pw, CertificateList certificates, string certhash, bool certstrong, out string newname, out GroupNameList groups)Ĭalled to authenticate a user. Derived Classes and Interfaces ServerUpdatingAuthenticator Operation Index authenticate If the response lags, the entire murmur server will lag.Īlso note that, as the method calls are synchronous, making a call to Server or Meta willĭeadlock the server. Please note that unlike ServerCallback and ServerContextCallback, these methods are called If an added callback ever throws an exception or goes away, it will be automatically removed. You need to supply one of these for Server::setAuthenticator. Murmur::ServerAuthenticator Overview interface ServerAuthenticatorĬallback interface for server authentication.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |