Skip to main content

Class AuthenticatorSettings

Inheritance
System.Object
Syntax
public sealed class AuthenticatorSettings : MonoBehaviour

Fields

TimeoutSeconds

Declaration
public int TimeoutSeconds

RequireHostToAuthenticate

Declaration
public bool RequireHostToAuthenticate

Authenticators

Declaration
public List<NetworkAuthenticator> Authenticators

Methods

Setup(NetworkServer)

Declaration
public void Setup(NetworkServer server)
Parameters
TypeNameDescription
Mirage.NetworkServerserver

ServerAuthenticate(INetworkPlayer)

Declaration
public UniTask<AuthenticationResult> ServerAuthenticate(INetworkPlayer player)
Parameters
TypeNameDescription
Mirage.INetworkPlayerplayer
Returns
TypeDescription
Cysharp.Threading.Tasks.UniTask<Mirage.Authentication.AuthenticationResult>