From da79d69ea6cd4695ef0b602a2f32d08b94b91881 Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Fri, 14 Feb 2020 18:26:23 -0500 Subject: [PATCH] Updated Authentication doc --- doc/Guides/Authentication.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Guides/Authentication.md b/doc/Guides/Authentication.md index d993cda0d..bbdf3a199 100644 --- a/doc/Guides/Authentication.md +++ b/doc/Guides/Authentication.md @@ -44,7 +44,7 @@ Mirror includes a [Basic Authenticator](../Components/Authenticators/Basic.md) i Authenticators are derived from an `Authenticator` abstract class that allows you to implement any authentication scheme you need. -To make your Authenticator, create a class that inherits from `Authenticator` and override the methods as needed. - When a client is successfully authenticated, call `base.OnServerAuthenticated.Invoke(conn)` on the server and `base.OnClientAuthenticated.Invoke(conn)` on the client. Mirror is listening for these events to proceed with the connection sequence. Subscribe to OnServerAuthenticated and OnClientAuthenticated events if you wish to perform additional steps after authentication. +From the Assets menu, click Create > Mirror > Network Authenticator to make your own custom Authenticator from our [Script Templates](../General/ScriptTemplates.md), and just fill in the messages and validation code to suit your needs. When a client is successfully authenticated, call `base.OnServerAuthenticated.Invoke(conn)` on the server and `base.OnClientAuthenticated.Invoke(conn)` on the client. Mirror is listening for these events to proceed with the connection sequence. Subscribe to OnServerAuthenticated and OnClientAuthenticated events if you wish to perform additional steps after authentication. ### Tips