Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Profile

Represents a user profile

Hierarchy

  • Profile

Index

Constructors

constructor

  • new Profile(profile?: object): Profile

Properties

_profile

_profile: object

Type declaration

  • [key: string]: any

Methods

toJSON

  • toJSON(): object

toToken

  • toToken(privateKey: string): string

Static fromToken

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

Static makeZoneFile

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

Static validateProofs

Static validateSchema

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

Generated using TypeDoc