Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Person

Hierarchy

Index

Constructors

constructor

  • new Person(profile?: object): Person

Properties

_profile

_profile: object

Type declaration

  • [key: string]: any

Methods

address

  • address(): any

avatarUrl

  • avatarUrl(): string

birthDate

  • birthDate(): any

connections

  • connections(): any[]

description

  • description(): any

familyName

  • familyName(): any

givenName

  • givenName(): any

name

  • name(): any

organizations

  • organizations(): any

profile

  • profile(): object

toJSON

  • toJSON(): object
  • Returns object

    • address: any
    • avatarUrl: string
    • birthDate: any
    • connections: any[]
    • description: any
    • familyName: any
    • givenName: any
    • name: any
    • organizations: any
    • profile: object
      • [key: string]: any
    • verifiedAccounts: any[]

toToken

  • toToken(privateKey: string): any

verifiedAccounts

  • verifiedAccounts(verifications?: any[]): any[]

Static fromLegacyFormat

  • fromLegacyFormat(legacyProfile: any): Person

Static fromToken

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

Static makeZoneFile

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

Static validateProofs

  • validateProofs(domainName: string): Promise<any[]>

Static validateSchema

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

Generated using TypeDoc