Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

›User API

User API

  • Users.authenticate() method
  • Users.withStorage() method
  • Users.createIdentity() method
  • Users.recoverKeysByPassphrase() method
  • Users.backupKeysByPassphrase() method
  • Users.list() method
  • Users.remove() method

Space User API

  • SpaceUser.storageAuth property
  • SpaceUser.token property

Types

  • Identity interface

@spacehq/sdk > Users > withStorage

Users.withStorage() method

Creates a users

Signature:

static withStorage(storage: IdentityStorage, config: UsersConfig, onError?: CallableFunction): Promise<Users>;

Parameters

ParameterTypeDescription
storageIdentityStorage
configUsersConfig
onErrorCallableFunction

Returns:

Promise<Users>

← Users.authenticate() methodUsers.createIdentity() method →
  • Users.withStorage() method
  • Parameters
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage