UNPKG

blockstack

Version:

The Blockstack Javascript library for authentication, identity, and storage.

2,458 lines 385 kB
{ "id": 0, "name": "blockstack.js 19.2.5 Library Reference", "kind": 0, "flags": {}, "children": [ { "id": 1, "name": "AuthScope", "kind": 4, "kindString": "Enumeration", "flags": { "isExported": true }, "comment": { "shortText": "Non-exhaustive list of common permission scopes." }, "children": [ { "id": 4, "name": "email", "kind": 16, "kindString": "Enumeration member", "flags": { "isExported": true }, "comment": { "shortText": "Request the user's email if available." }, "sources": [ { "fileName": "auth/authConstants.ts", "line": 33, "character": 7 } ], "defaultValue": "\"email\"" }, { "id": 3, "name": "publish_data", "kind": 16, "kindString": "Enumeration member", "flags": { "isExported": true }, "comment": { "shortText": "Publish data so that other users of the app can discover and interact with the user.\nThe user's files stored on Gaia hub are made visible to others via the `apps` property in the\nuser’s `profile.json` file." }, "sources": [ { "fileName": "auth/authConstants.ts", "line": 29, "character": 14 } ], "defaultValue": "\"publish_data\"" }, { "id": 2, "name": "store_write", "kind": 16, "kindString": "Enumeration member", "flags": { "isExported": true }, "comment": { "shortText": "Read and write data to the user's Gaia hub in an app-specific storage bucket.\nThis is the default scope." }, "sources": [ { "fileName": "auth/authConstants.ts", "line": 23, "character": 13 } ], "defaultValue": "\"store_write\"" } ], "groups": [ { "title": "Enumeration members", "kind": 16, "children": [ 4, 3, 2 ] } ], "sources": [ { "fileName": "auth/authConstants.ts", "line": 18, "character": 27 } ] }, { "id": 643, "name": "AppConfig", "kind": 128, "kindString": "Class", "flags": { "isExported": true }, "comment": { "shortText": "Configuration data for the current app.", "text": "On browser platforms, creating an instance of this\nclass without any arguments will use\n`window.location.origin` as the app domain.\nOn non-browser platforms, you need to\nspecify an app domain as the second argument.\n\n" }, "children": [ { "id": 650, "name": "constructor", "kind": 512, "kindString": "Constructor", "flags": { "isExported": true }, "comment": {}, "signatures": [ { "id": 651, "name": "new AppConfig", "kind": 16384, "kindString": "Constructor signature", "flags": {}, "comment": {}, "parameters": [ { "id": 652, "name": "scopes", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "shortText": "permissions this app is requesting" }, "type": { "type": "reference", "name": "Array", "typeArguments": [ { "type": "intrinsic", "name": "string" } ] }, "defaultValue": " DEFAULT_SCOPE.slice()" }, { "id": 653, "name": "appDomain", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "shortText": "the app domain" }, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": " getGlobalObject('location', { returnEmptyObject: true }).origin" }, { "id": 654, "name": "redirectPath", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "shortText": "path on app domain to redirect users to after authentication" }, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "\"\"" }, { "id": 655, "name": "manifestPath", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "shortText": "path relative to app domain of app's manifest file" }, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": "\"/manifest.json\"" }, { "id": 656, "name": "coreNode", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "shortText": "override the default or user selected core node" }, "type": { "type": "union", "types": [ { "type": "intrinsic", "name": "string" }, { "type": "intrinsic", "name": "null" } ] }, "defaultValue": " null" }, { "id": 657, "name": "authenticatorURL", "kind": 32768, "kindString": "Parameter", "flags": {}, "comment": { "shortText": "the web-based fall back authenticator\n([[DEFAULT_BLOCKSTACK_HOST]])\n" }, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": " DEFAULT_BLOCKSTACK_HOST" } ], "type": { "type": "reference", "name": "AppConfig", "id": 643 } } ], "sources": [ { "fileName": "auth/appConfig.ts", "line": 59, "character": 27 } ] }, { "id": 644, "name": "appDomain", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "Blockstack apps are uniquely identified by their app domain." }, "sources": [ { "fileName": "auth/appConfig.ts", "line": 20, "character": 11 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 649, "name": "authenticatorURL", "kind": 1024, "kindString": "Property", "flags": { "isExported": true, "isOptional": true }, "comment": { "shortText": "The URL of a web-based Blockstack Authenticator to use in the event\nthe user doesn't have Blockstack installed on their machine. If this\nis not specified, the current default in this library will be used." }, "sources": [ { "fileName": "auth/appConfig.ts", "line": 59, "character": 18 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 648, "name": "coreNode", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "The URL of Blockstack core node to use for this app. If this is\n`null`, the core node specified by the user or default core node\nwill be used." }, "sources": [ { "fileName": "auth/appConfig.ts", "line": 51, "character": 10 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 647, "name": "manifestPath", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "Path relative to app domain of app's manifest file.", "text": "This file needs to have CORS headers set so that it can be fetched\nfrom any origin. Typically this means return the header `Access-Control-Allow-Origin: *`.\n\n" }, "sources": [ { "fileName": "auth/appConfig.ts", "line": 43, "character": 14 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 646, "name": "redirectPath", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "Path on app domain to redirect users to after authentication. The\nauthentication response token will be postpended in a query." }, "sources": [ { "fileName": "auth/appConfig.ts", "line": 34, "character": 14 } ], "type": { "type": "intrinsic", "name": "string" } }, { "id": 645, "name": "scopes", "kind": 1024, "kindString": "Property", "flags": { "isExported": true }, "comment": { "shortText": "An array of string representing permissions requested by the app." }, "sources": [ { "fileName": "auth/appConfig.ts", "line": 26, "character": 8 } ], "type": { "type": "reference", "name": "Array", "typeArguments": [ { "type": "union", "types": [ { "type": "reference", "name": "AuthScope", "id": 1 }, { "type": "intrinsic", "name": "string" } ] } ] } }, { "id": 660, "name": "manifestURI", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 661, "name": "manifestURI", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "The location of the app's manifest file.", "returns": "- URI\n" }, "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "auth/appConfig.ts", "line": 103, "character": 13 } ] }, { "id": 658, "name": "redirectURI", "kind": 2048, "kindString": "Method", "flags": { "isExported": true }, "signatures": [ { "id": 659, "name": "redirectURI", "kind": 4096, "kindString": "Call signature", "flags": {}, "comment": { "shortText": "The location to which the authenticator should\nredirect the user.", "returns": "- URI\n" }, "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "auth/appConfig.ts", "line": 95, "character": 13 } ] } ], "groups": [ { "title": "Constructors", "kind": 512, "children": [ 650 ] }, { "title": "Properties", "kind": 1024, "children": [ 644, 649, 648, 647, 646, 645 ] }, { "title": "Methods", "kind": 2048, "children": [ 660, 658 ] } ], "sources": [ { "fileName": "auth/appConfig.ts", "line": 15, "character": 22 } ] }, { "id": 947, "name": "Facebook", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { "id": 962, "name": "getBaseUrls", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 963, "name": "getBaseUrls", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } }, "inheritedFrom": { "type": "reference", "name": "Service.getBaseUrls" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 44, "character": 20 } ], "inheritedFrom": { "type": "reference", "name": "Service.getBaseUrls" } }, { "id": 964, "name": "getProofIdentity", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 965, "name": "getProofIdentity", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 966, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.getProofIdentity" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 48, "character": 25 } ], "inheritedFrom": { "type": "reference", "name": "Service.getProofIdentity" } }, { "id": 954, "name": "getProofStatement", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 955, "name": "getProofStatement", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 956, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofStatement" } } ], "sources": [ { "fileName": "profiles/services/facebook.ts", "line": 33, "character": 26 } ], "overwrites": { "type": "reference", "name": "Service.getProofStatement" } }, { "id": 948, "name": "getProofUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 949, "name": "getProofUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 950, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "any" }, "overwrites": { "type": "reference", "name": "Service.getProofUrl" } } ], "sources": [ { "fileName": "profiles/services/facebook.ts", "line": 6, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getProofUrl" } }, { "id": 951, "name": "normalizeUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 952, "name": "normalizeUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 953, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "any" } } ], "sources": [ { "fileName": "profiles/services/facebook.ts", "line": 10, "character": 21 } ] }, { "id": 969, "name": "prefixScheme", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 970, "name": "prefixScheme", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 971, "name": "proofUrl", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 60, "character": 21 } ], "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } }, { "id": 967, "name": "shouldValidateIdentityInBody", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 968, "name": "shouldValidateIdentityInBody", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 56, "character": 37 } ], "inheritedFrom": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } }, { "id": 957, "name": "validateProof", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 958, "name": "validateProof", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 959, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } }, { "id": 960, "name": "ownerAddress", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { "id": 961, "name": "name", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": " null" } ], "type": { "type": "reference", "name": "Promise", "typeArguments": [ { "type": "intrinsic", "name": "any" } ] }, "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 10, "character": 22 } ], "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "groups": [ { "title": "Methods", "kind": 2048, "children": [ 962, 964, 954, 948, 951, 969, 967, 957 ] } ], "sources": [ { "fileName": "profiles/services/facebook.ts", "line": 5, "character": 14 } ], "extendedTypes": [ { "type": "reference", "name": "Service" } ] }, { "id": 972, "name": "Github", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { "id": 973, "name": "getBaseUrls", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 974, "name": "getBaseUrls", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } }, "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } } ], "sources": [ { "fileName": "profiles/services/github.ts", "line": 5, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } }, { "id": 986, "name": "getProofIdentity", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 987, "name": "getProofIdentity", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 988, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.getProofIdentity" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 48, "character": 25 } ], "inheritedFrom": { "type": "reference", "name": "Service.getProofIdentity" } }, { "id": 989, "name": "getProofStatement", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 990, "name": "getProofStatement", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 991, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.getProofStatement" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 52, "character": 26 } ], "inheritedFrom": { "type": "reference", "name": "Service.getProofStatement" } }, { "id": 978, "name": "getProofUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 979, "name": "getProofUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 980, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofUrl" } } ], "sources": [ { "fileName": "profiles/services/github.ts", "line": 14, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getProofUrl" } }, { "id": 975, "name": "normalizeUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 976, "name": "normalizeUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 977, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "profiles/services/github.ts", "line": 10, "character": 21 } ] }, { "id": 994, "name": "prefixScheme", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 995, "name": "prefixScheme", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 996, "name": "proofUrl", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 60, "character": 21 } ], "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } }, { "id": 992, "name": "shouldValidateIdentityInBody", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 993, "name": "shouldValidateIdentityInBody", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 56, "character": 37 } ], "inheritedFrom": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } }, { "id": 981, "name": "validateProof", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 982, "name": "validateProof", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 983, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } }, { "id": 984, "name": "ownerAddress", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { "id": 985, "name": "name", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": " null" } ], "type": { "type": "reference", "name": "Promise", "typeArguments": [ { "type": "intrinsic", "name": "any" } ] }, "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 10, "character": 22 } ], "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "groups": [ { "title": "Methods", "kind": 2048, "children": [ 973, 986, 989, 978, 975, 994, 992, 981 ] } ], "sources": [ { "fileName": "profiles/services/github.ts", "line": 4, "character": 12 } ], "extendedTypes": [ { "type": "reference", "name": "Service" } ] }, { "id": 1047, "name": "HackerNews", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { "id": 1048, "name": "getBaseUrls", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1049, "name": "getBaseUrls", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } }, "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } } ], "sources": [ { "fileName": "profiles/services/hackerNews.ts", "line": 6, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } }, { "id": 1064, "name": "getProofIdentity", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1065, "name": "getProofIdentity", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1066, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.getProofIdentity" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 48, "character": 25 } ], "inheritedFrom": { "type": "reference", "name": "Service.getProofIdentity" } }, { "id": 1056, "name": "getProofStatement", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1057, "name": "getProofStatement", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1058, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofStatement" } } ], "sources": [ { "fileName": "profiles/services/hackerNews.ts", "line": 32, "character": 26 } ], "overwrites": { "type": "reference", "name": "Service.getProofStatement" } }, { "id": 1050, "name": "getProofUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1051, "name": "getProofUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1052, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofUrl" } } ], "sources": [ { "fileName": "profiles/services/hackerNews.ts", "line": 15, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getProofUrl" } }, { "id": 1053, "name": "normalizeUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1054, "name": "normalizeUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1055, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "string" } } ], "sources": [ { "fileName": "profiles/services/hackerNews.ts", "line": 28, "character": 21 } ] }, { "id": 1069, "name": "prefixScheme", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1070, "name": "prefixScheme", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1071, "name": "proofUrl", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 60, "character": 21 } ], "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } }, { "id": 1067, "name": "shouldValidateIdentityInBody", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1068, "name": "shouldValidateIdentityInBody", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "intrinsic", "name": "boolean" }, "inheritedFrom": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 56, "character": 37 } ], "inheritedFrom": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } }, { "id": 1059, "name": "validateProof", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1060, "name": "validateProof", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1061, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } }, { "id": 1062, "name": "ownerAddress", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { "id": 1063, "name": "name", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": " null" } ], "type": { "type": "reference", "name": "Promise", "typeArguments": [ { "type": "intrinsic", "name": "any" } ] }, "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 10, "character": 22 } ], "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "groups": [ { "title": "Methods", "kind": 2048, "children": [ 1048, 1064, 1056, 1050, 1053, 1069, 1067, 1059 ] } ], "sources": [ { "fileName": "profiles/services/hackerNews.ts", "line": 5, "character": 16 } ], "extendedTypes": [ { "type": "reference", "name": "Service" } ] }, { "id": 1022, "name": "Instagram", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { "id": 1023, "name": "getBaseUrls", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1024, "name": "getBaseUrls", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } }, "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 6, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } }, { "id": 1033, "name": "getProofIdentity", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1034, "name": "getProofIdentity", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1035, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofIdentity" } } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 38, "character": 25 } ], "overwrites": { "type": "reference", "name": "Service.getProofIdentity" } }, { "id": 1036, "name": "getProofStatement", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1037, "name": "getProofStatement", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1038, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofStatement" } } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 48, "character": 26 } ], "overwrites": { "type": "reference", "name": "Service.getProofStatement" } }, { "id": 1025, "name": "getProofUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1026, "name": "getProofUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1027, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "any" }, "overwrites": { "type": "reference", "name": "Service.getProofUrl" } } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 11, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getProofUrl" } }, { "id": 1028, "name": "normalizeUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1029, "name": "normalizeUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1030, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "any" } } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 23, "character": 21 } ] }, { "id": 1044, "name": "prefixScheme", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1045, "name": "prefixScheme", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1046, "name": "proofUrl", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 60, "character": 21 } ], "inheritedFrom": { "type": "reference", "name": "Service.prefixScheme" } }, { "id": 1031, "name": "shouldValidateIdentityInBody", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1032, "name": "shouldValidateIdentityInBody", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "intrinsic", "name": "boolean" }, "overwrites": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 34, "character": 37 } ], "overwrites": { "type": "reference", "name": "Service.shouldValidateIdentityInBody" } }, { "id": 1039, "name": "validateProof", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1040, "name": "validateProof", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1041, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } }, { "id": 1042, "name": "ownerAddress", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } }, { "id": 1043, "name": "name", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" }, "defaultValue": " null" } ], "type": { "type": "reference", "name": "Promise", "typeArguments": [ { "type": "intrinsic", "name": "any" } ] }, "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "sources": [ { "fileName": "profiles/services/service.ts", "line": 10, "character": 22 } ], "inheritedFrom": { "type": "reference", "name": "Service.validateProof" } } ], "groups": [ { "title": "Methods", "kind": 2048, "children": [ 1023, 1033, 1036, 1025, 1028, 1044, 1031, 1039 ] } ], "sources": [ { "fileName": "profiles/services/instagram.ts", "line": 5, "character": 15 } ], "extendedTypes": [ { "type": "reference", "name": "Service" } ] }, { "id": 1072, "name": "LinkedIn", "kind": 128, "kindString": "Class", "flags": {}, "children": [ { "id": 1073, "name": "getBaseUrls", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1074, "name": "getBaseUrls", "kind": 4096, "kindString": "Call signature", "flags": {}, "type": { "type": "array", "elementType": { "type": "intrinsic", "name": "string" } }, "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } } ], "sources": [ { "fileName": "profiles/services/linkedIn.ts", "line": 6, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getBaseUrls" } }, { "id": 1083, "name": "getProofIdentity", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1084, "name": "getProofIdentity", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1085, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofIdentity" } } ], "sources": [ { "fileName": "profiles/services/linkedIn.ts", "line": 37, "character": 25 } ], "overwrites": { "type": "reference", "name": "Service.getProofIdentity" } }, { "id": 1086, "name": "getProofStatement", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1087, "name": "getProofStatement", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1088, "name": "searchText", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "string" } } ], "type": { "type": "intrinsic", "name": "string" }, "overwrites": { "type": "reference", "name": "Service.getProofStatement" } } ], "sources": [ { "fileName": "profiles/services/linkedIn.ts", "line": 56, "character": 26 } ], "overwrites": { "type": "reference", "name": "Service.getProofStatement" } }, { "id": 1075, "name": "getProofUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic": true }, "signatures": [ { "id": 1076, "name": "getProofUrl", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { "id": 1077, "name": "proof", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "intrinsic", "name": "any" }, "overwrites": { "type": "reference", "name": "Service.getProofUrl" } } ], "sources": [ { "fileName": "profiles/services/linkedIn.ts", "line": 15, "character": 20 } ], "overwrites": { "type": "reference", "name": "Service.getProofUrl" } }, { "id": 1078, "name": "normalizeUrl", "kind": 2048, "kindString": "Method", "flags": { "isStatic"