ApiCoreFunctions
Function: createServerAuth()
function createServerAuth(
spaceId,
read,
nodeKey,
provider,
note?
): ServerAuth;Defined in: packages/core/src/network/peer-auth.ts:253
The node side, which needs no secret of the space's: read is who may read a private space, or just its public read key.
Parameters
| Parameter | Type |
|---|---|
spaceId | string |
read | string | ReadAccess | null |
nodeKey | CryptoKey |
provider | CryptoProvider |
note? | () => Delegation | null |