Methods
toToken
- toToken(privateKey: string): string
-
Parameters
Returns string
Static fromToken
- fromToken(token: string, publicKeyOrAddress?: null | string): Profile
-
Parameters
-
token: string
-
publicKeyOrAddress: null | string = null
Static makeZoneFile
- makeZoneFile(domainName: string, tokenFileURL: string): string
-
Parameters
-
domainName: string
-
tokenFileURL: string
Returns string
Static validateSchema
- validateSchema(profile: any, strict?: boolean): any
-
Parameters
-
profile: any
-
strict: boolean = false
Returns any
Represents a user profile