/
authenticateWithPassword (Javascript)

authenticateWithPassword (Javascript)

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

 

Related content

authenticateAsGuest (Javascript)
authenticateAsGuest (Javascript)
More like this
AuthenticateWithPassword (Unity)
AuthenticateWithPassword (Unity)
More like this
awaitAuthentication (Javascript)
awaitAuthentication (Javascript)
More like this
AuthenticateWithPassword (.NET)
AuthenticateWithPassword (.NET)
More like this
AuthenticateWithPassword (Unreal Engine)
AuthenticateWithPassword (Unreal Engine)
More like this
AuthenticateAsGuest
AuthenticateAsGuest
More like this