getPlayerIdByRemoteSecret

abstract fun getPlayerIdByRemoteSecret(@NotNull remoteSecret: @NotNull UUID): Optional<UUID>

Gets the player's unique identifier by their remote secret.

Remote secret is a secret, received from the remote backend and used for communication between proxy and backend.

Return

An optional containing the player's unique identifier if found, otherwise empty.

Parameters

remoteSecret

The remote secret of the player.