Versions Compared

Key

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

- Declaration

public awaitAuthentication(): Promise<CavrnusApiUser>

- Description

Returns an promise of type CavrnusApiUser when authentication is complete.

- Sample

Code Block
import { CavrnusSpatialConnector } from "../services/csc";
function async awaitSpaceLoad()
{
    const csc = new CavrnusSpatialConnector();
	try
	{
		const spaceId = await csc.awaitAuthentication();
	}
	catch (err)
	{
		throw err;
	}
}