Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

- 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

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;
	}
}

  • No labels