Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a user profile

Hierarchy

  • Profile

Index

Constructors

  • Parameters

    • profile: {} = {}

      Returns Profile

    Properties

    _profile: {}

    Type declaration

    • [key: string]: any

    Methods

    • toJSON(): {}
    • Returns {}

      • [key: string]: any
    • toToken(privateKey: string): string
    • Parameters

      • privateKey: string

      Returns string

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

      • token: string
      • publicKeyOrAddress: null | string = null

      Returns Profile

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

      • domainName: string
      • tokenFileURL: string

      Returns string

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

      • profile: any
      • strict: boolean = false

      Returns any

    Generated using TypeDoc