aladinnetwork-blockstack
Version:
The Aladin Javascript library for authentication, identity, and storage.
28 lines (25 loc) • 791 B
text/typescript
import { Facebook } from './facebook'
import { Github } from './github'
import { Twitter } from './twitter'
import { Instagram } from './instagram'
import { HackerNews } from './hackerNews'
import { LinkedIn } from './linkedIn'
import { Service } from './service'
interface ValidateProofService {
validateProof(proof: any, ownerAddress: string, name?: string): Promise<any>;
getProofUrl(proof: any): string;
getProofStatement(searchText: string): string;
normalizeUrl(proof: any): string;
getProofIdentity(searchText: string): string;
}
/** @ignore */
export const profileServices: {
[serviceName: string]: Service & ValidateProofService
} = {
facebook: Facebook,
github: Github,
twitter: Twitter,
instagram: Instagram,
hackerNews: HackerNews,
linkedIn: LinkedIn
}