Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

@spacehq/sdk > GundbMetadataStore > fromIdentity

GundbMetadataStore.fromIdentity() method

Creates a new instance of this metadata store for users identity.

Signature:

static fromIdentity(username: string, userpass: string, gunOrServer?: GunInit | string | string[], logger?: Pino.Logger | boolean): Promise<GundbMetadataStore>;

Parameters

ParameterTypeDescription
usernamestringUsername of user
userpassstringPassword of user
gunOrServerGunInit | string | string[]initialized gun instance or peer server
loggerPino.Logger | booleanOptional pino logger instance for debug mode

Returns:

Promise<GundbMetadataStore>

  • GundbMetadataStore.fromIdentity() method
  • Parameters
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage