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
Type | Name | Description |
---|---|---|
Mirage.INetworkPlayer | player | |
Mirage.Authenticators.BasicAuthenticator.JoinMessage | message |
Returns
Type | Description |
---|---|
Mirage.Authentication.AuthenticationResult |
SendCode(NetworkClient, String)
Declaration
public void SendCode(NetworkClient client, string serverCode = null)
Parameters
Type | Name | Description |
---|---|---|
Mirage.NetworkClient | client | |
System.String | serverCode |