Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

- Declaration

public async authenticateWithPassword(apiEndpoint: string, email: string, password: string): Promise<void>

- Description

Gets user credentials, allowing you to join valid spaces and make other requests.

- Sample

Code Block
languagetypescript
import { CavrnusSpatialConnector } from "../services/csc";
async function connectGuest()
{
    const csc = new CavrnusSpatialConnector();
	try
	{
		await csc.authenticateWithPassword("cav.dev.cavrn.us", "email@email.com", "password");
	}
	catch (err)
	{
		throw err;
	}
}

...