aladinnetwork-blockstack
Version:
The Aladin Javascript library for authentication, identity, and storage.
39 lines (38 loc) • 988 B
TypeScript
import { Profile } from '../profile';
/**
* @ignore
*/
export declare class Person extends Profile {
constructor(profile?: {});
static validateSchema(profile: any, strict?: boolean): any;
static fromToken(token: string, publicKeyOrAddress?: string | null): Person;
static fromLegacyFormat(legacyProfile: any): Person;
toJSON(): {
profile: {
[key: string]: any;
};
name: any;
givenName: any;
familyName: any;
description: any;
avatarUrl: string;
verifiedAccounts: any[];
address: any;
birthDate: any;
connections: any[];
organizations: any;
};
profile(): {
[key: string]: any;
};
name(): any;
givenName(): any;
familyName(): any;
description(): any;
avatarUrl(): string;
verifiedAccounts(verifications?: any[]): any[];
address(): any;
birthDate(): any;
connections(): any[];
organizations(): any;
}