Skip to main content

Class BasicAuthenticator

Inheritance
System.Object
Mirage.Authentication.NetworkAuthenticator
Mirage.Authentication.NetworkAuthenticator<Mirage.Authenticators.BasicAuthenticator.JoinMessage>
Inherited Members
Show

Mirage.Authentication.NetworkAuthenticator<Mirage.Authenticators.BasicAuthenticator.JoinMessage>.AuthenticateAsync(Mirage.INetworkPlayer, Mirage.Authenticators.BasicAuthenticator.JoinMessage)

Mirage.Authentication.NetworkAuthenticator<Mirage.Authenticators.BasicAuthenticator.JoinMessage>.SendAuthentication(Mirage.NetworkClient, Mirage.Authenticators.BasicAuthenticator.JoinMessage)

Mirage.Authentication.NetworkAuthenticator.AuthenticatorName

Syntax
public class BasicAuthenticator : NetworkAuthenticator<BasicAuthenticator.JoinMessage>, INetworkAuthenticator

Fields

ServerCode

Declaration
public string ServerCode

Methods

Authenticate(INetworkPlayer, BasicAuthenticator.JoinMessage)

Declaration
protected override AuthenticationResult Authenticate(INetworkPlayer player, BasicAuthenticator.JoinMessage message)
Parameters
TypeNameDescription
Mirage.INetworkPlayerplayer
Mirage.Authenticators.BasicAuthenticator.JoinMessagemessage
Returns
TypeDescription
Mirage.Authentication.AuthenticationResult

SendCode(NetworkClient, String)

Declaration
public void SendCode(NetworkClient client, string serverCode = null)
Parameters
TypeNameDescription
Mirage.NetworkClientclient
System.StringserverCode