Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

›Common Types

Common Types

  • UserAuth type
  • CopyAuthOptions interface
  • WithKeyInfoOptions interface
  • WithUserAuthOptions interface
  • APISig type
  • KeyInfo type
  • Status enum
  • Variant enum

Type Properties

  • CopyAuthOptions.debug property
  • WithKeyInfoOptions.debug property
  • WithKeyInfoOptions.date property
  • WithKeyInfoOptions.host property
  • WithUserAuthOptions.debug property
  • WithUserAuthOptions.host property

@textile/hub > WithKeyInfoOptions

WithKeyInfoOptions interface

Set the options for authenticating with an API key

Signature:

export interface WithKeyInfoOptions extends WithUserAuthOptions 

Extends: WithUserAuthOptions

Properties

PropertyTypeDescription
date?Date(Optional) Optional. Future date for the session to expire. Short time periods are strongly recommended. (Default 30 minutes).
debug?boolean(Optional) Optional. Get more detailed log information.
host?string(Optional) Development purposes only.
← CopyAuthOptions interfaceWithUserAuthOptions interface →
  • WithKeyInfoOptions interface
  • Properties
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio