Contains enums
Members
# (inner, constant) ClaimFormat :number
Format of claim
- number
Properties
Name | Type | Description |
---|---|---|
URI |
number |
|
FINGERPRINT |
number |
|
MESSAGE |
number |
|
# (inner, constant) ClaimRelation :number
How to find the claim inside the proof's JSON data
- number
Properties
Name | Type | Description |
---|---|---|
CONTAINS |
number | Claim is somewhere in the JSON field's textual content |
EQUALS |
number | Claim is equal to the JSON field's textual content |
ONEOF |
number | Claim is equal to an element of the JSON field's array of strings |
# (inner, constant) ClaimStatus :string
Status of the Claim instance
- string
Properties
Name | Type | Description |
---|---|---|
INIT |
string | Claim has been initialized |
MATCHED |
string | Claim has matched its URI to candidate claim definitions |
VERIFIED |
string | Claim has verified one or multiple candidate claim definitions |
# (inner, constant) Fetcher :string
Methods for fetching proofs
- string
Properties
Name | Type | Description |
---|---|---|
HTTP |
string | Basic HTTP requests |
DNS |
string | DNS module from Node.js |
IRC |
string | IRC module from Node.js |
XMPP |
string | XMPP module from Node.js |
MATRIX |
string | HTTP request to Matrix API |
GITLAB |
string | HTTP request to Gitlab API |
TWITTER |
string | HTTP request to Twitter API |
# (inner, constant) ProofAccess :number
Levels of access restriction for proof fetching
- number
Properties
Name | Type | Description |
---|---|---|
GENERIC |
number | Any HTTP request will work |
NOCORS |
number | CORS requests are denied |
GRANTED |
number | HTTP requests must contain API or access tokens |
SERVER |
number | Not accessible by HTTP request, needs server software |
# (inner, constant) ProofFormat :string
Format of proof
- string
Properties
Name | Type | Description |
---|---|---|
JSON |
string | JSON format |
TEXT |
string | Plaintext format |
# (inner, constant) ProxyPolicy :string
The proxy policy that decides how to fetch a proof
- string
Properties
Name | Type | Description |
---|---|---|
ADAPTIVE |
string | Proxy usage decision depends on environment and service provider |
ALWAYS |
string | Always use a proxy |
NEVER |
string | Never use a proxy, skip a verification if a proxy is inevitable |