Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

›Users API

Getting Started

  • Default Implementations

Users API

  • Users class
  • SpaceUser interface

Storage API

  • UserStorage class
  • IdentityStorage interface
  • BrowserStorage class
  • FileStorage class

@spacehq/sdk > SpaceUser

SpaceUser interface

Represents an authenticated KeyPair identity with valid API session token.

Signature:

export interface SpaceUser 

Properties

PropertyTypeDescription
endpointstringAuth endpoint used to authenticate this user
identityIdentity
storageAuth?TextileStorageAuth(Optional)
tokenstringtoken is the service token. It can be used to interact with the identity service.
← Users classUserStorage class →
  • SpaceUser interface
  • Properties
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage