Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a user profile

Hierarchy

  • Profile

Index

Constructors

constructor

  • new Profile(profile?: {}): Profile

Properties

_profile

_profile: {}

Type declaration

  • [key: string]: any

Methods

toJSON

  • toJSON(): {}

toToken

  • toToken(privateKey: string): string

Static fromToken

  • fromToken(token: string, publicKeyOrAddress?: null | string): Profile

Static makeZoneFile

  • makeZoneFile(domainName: string, tokenFileURL: string): string

Static validateSchema

  • validateSchema(profile: any, strict?: boolean): any

Generated using TypeDoc