Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
ncAuthManager Class Reference

About this class

Authentication Manager.

Designed to be decentralized.

Goal: Tie any non-bot player slot to an account somewhere on the web. Multiple sources could be used to verify identities. In our implementation, we'll be mainly targeting ActivityPub as it is a W3C standard and therefore best suited for this purpose.

Non-goal: Do not ask players to sign up to a new service. Do not collect, sell or transmit user data under any circumstances. Do not implement the authentication to be tied to a single external service or specific implementation of a standard. Do not discriminate on behalf of server administrators.

Justification: Remote identities can be used as storage, but can also help tie multiple sessions to a single identity. It can also be used by single server administrators (or their networks) to moderate. You could limit sessions or participation to instances that select identities may belong to in a non-punishing way as well. This is meant to be neutral.

Cvars

auth_enabled 0/1

When set, will enable GID verification of user identities.

auth_connectUnauthorizedClients 0/1

When set, will only allow authorized clients to join the server.

auth_instanceFilter [example.com[,example2.com]]

When set, will only allow verified users from a certain instances to join the server.

Public Member Functions

void ncAuthManager (void)
 
nonvirtual bool Connect (ncClient targetClient)
 
nonvirtual void Disconnect (ncClient targetClient)
 
nonvirtual bool AllowRespawn (ncClient targetClient)
 

Constructor & Destructor Documentation

◆ ncAuthManager()

void ncAuthManager::ncAuthManager ( void )

Member Function Documentation

◆ AllowRespawn()

bool ncAuthManager::AllowRespawn ( ncClient targetClient)

◆ Connect()

bool ncAuthManager::Connect ( ncClient targetClient)

◆ Disconnect()

void ncAuthManager::Disconnect ( ncClient targetClient)

The documentation for this class was generated from the following files: