Namespace: server

Classes

Functions

setWebSigner

setWebSigner(signer): void

Set a custom web platform signer function. By default the web platform uses the generated player ID from local storage and a dummy string unsigned for the signature. Like on other platforms the signer is called again only after a certain time has passed since the previous signing.

Parameters

Name Type Description
signer null | () => Promise<SignedPlayerInfo> Signer function

Returns

void


sign

sign(now?): Promise<SignedPlayerInfo>

Parameters

Name Type
now? number

Returns

Promise<SignedPlayerInfo>