Ask the client to perform Mojang "joinServer" locally. Verify with Mojang Session Server from the server using a nonce. If verification passes: replace the player's UUID with the official premium UUID ...
Learn the step-by-step process to set up a private server in The Forge to mine with friends in peace without exploiters ...