-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: API reference for all packages (initial)
- Loading branch information
1 parent
63b9c23
commit 3dd0165
Showing
146 changed files
with
2,689 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-debug](./daf-debug.md) > [ActionHandler](./daf-debug.actionhandler.md) > [handleAction](./daf-debug.actionhandler.handleaction.md) | ||
|
||
## ActionHandler.handleAction() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
handleAction(action: Action, core: Core): Promise<any>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------------------- | ----------- | | ||
| action | <code>Action</code> | | | ||
| core | <code>Core</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<any>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-debug](./daf-debug.md) > [ActionHandler](./daf-debug.actionhandler.md) | ||
|
||
## ActionHandler class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class ActionHandler extends AbstractActionHandler | ||
``` | ||
## Methods | ||
| Method | Modifiers | Description | | ||
| ----------------------------------------------------------------------- | --------- | ----------- | | ||
| [handleAction(action, core)](./daf-debug.actionhandler.handleaction.md) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-debug](./daf-debug.md) | ||
|
||
## daf-debug package | ||
|
||
## Classes | ||
|
||
| Class | Description | | ||
| --------------------------------------------------- | ----------- | | ||
| [ActionHandler](./daf-debug.actionhandler.md) | | | ||
| [MessageValidator](./daf-debug.messagevalidator.md) | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-debug](./daf-debug.md) > [MessageValidator](./daf-debug.messagevalidator.md) | ||
|
||
## MessageValidator class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class MessageValidator extends AbstractMessageValidator | ||
``` | ||
## Methods | ||
| Method | Modifiers | Description | | ||
| ------------------------------------------------------------------- | --------- | ----------- | | ||
| [validate(message, core)](./daf-debug.messagevalidator.validate.md) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-debug](./daf-debug.md) > [MessageValidator](./daf-debug.messagevalidator.md) > [validate](./daf-debug.messagevalidator.validate.md) | ||
|
||
## MessageValidator.validate() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
validate(message: Message, core: Core): Promise<Message>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | -------------------- | ----------- | | ||
| message | <code>Message</code> | | | ||
| core | <code>Core</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<Message>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-did-jwt](./daf-did-jwt.md) | ||
|
||
## daf-did-jwt package | ||
|
||
## Classes | ||
|
||
| Class | Description | | ||
| ----------------------------------------------------- | ----------- | | ||
| [MessageValidator](./daf-did-jwt.messagevalidator.md) | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-did-jwt](./daf-did-jwt.md) > [MessageValidator](./daf-did-jwt.messagevalidator.md) | ||
|
||
## MessageValidator class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class MessageValidator extends AbstractMessageValidator | ||
``` | ||
## Methods | ||
| Method | Modifiers | Description | | ||
| --------------------------------------------------------------------- | --------- | ----------- | | ||
| [validate(message, core)](./daf-did-jwt.messagevalidator.validate.md) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-did-jwt](./daf-did-jwt.md) > [MessageValidator](./daf-did-jwt.messagevalidator.md) > [validate](./daf-did-jwt.messagevalidator.validate.md) | ||
|
||
## MessageValidator.validate() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
validate(message: Message, core: Core): Promise<Message>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | -------------------- | ----------- | | ||
| message | <code>Message</code> | | | ||
| core | <code>Core</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<Message>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) > [(constructor)](./daf-ethr-did.identity._constructor_.md) | ||
|
||
## Identity.(constructor) | ||
|
||
Constructs a new instance of the `Identity` class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
constructor(options: { | ||
identityProviderType: string; | ||
serializedIdentity: SerializedIdentity; | ||
kms: AbstractKeyManagementSystem; | ||
identityController: AbstractIdentityController; | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- | | ||
| options | <code>{</code><br/><code> identityProviderType: string;</code><br/><code> serializedIdentity: SerializedIdentity;</code><br/><code> kms: AbstractKeyManagementSystem;</code><br/><code> identityController: AbstractIdentityController;</code><br/><code> }</code> | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) > [did](./daf-ethr-did.identity.did.md) | ||
|
||
## Identity.did property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly did: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) > [identityController](./daf-ethr-did.identity.identitycontroller.md) | ||
|
||
## Identity.identityController property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly identityController: AbstractIdentityController; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) > [identityProviderType](./daf-ethr-did.identity.identityprovidertype.md) | ||
|
||
## Identity.identityProviderType property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly identityProviderType: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) > [keyById](./daf-ethr-did.identity.keybyid.md) | ||
|
||
## Identity.keyById() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
keyById(kid: string): Promise<import("daf-core").AbstractKey>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------------------- | ----------- | | ||
| kid | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<import("daf-core").AbstractKey>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) > [keyByType](./daf-ethr-did.identity.keybytype.md) | ||
|
||
## Identity.keyByType() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
keyByType(type: string): Promise<import("daf-core").AbstractKey>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------------------- | ----------- | | ||
| type | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<import("daf-core").AbstractKey>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [Identity](./daf-ethr-did.identity.md) | ||
|
||
## Identity class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class Identity extends AbstractIdentity | ||
``` | ||
## Constructors | ||
| Constructor | Modifiers | Description | | ||
| ------------------------------------------------------------------ | --------- | ------------------------------------------------------------ | | ||
| [(constructor)(options)](./daf-ethr-did.identity._constructor_.md) | | Constructs a new instance of the <code>Identity</code> class | | ||
## Properties | ||
| Property | Modifiers | Type | Description | | ||
| ----------------------------------------------------------------------- | --------- | --------------------------------------- | ----------- | | ||
| [did](./daf-ethr-did.identity.did.md) | | <code>string</code> | | | ||
| [identityController](./daf-ethr-did.identity.identitycontroller.md) | | <code>AbstractIdentityController</code> | | | ||
| [identityProviderType](./daf-ethr-did.identity.identityprovidertype.md) | | <code>string</code> | | | ||
## Methods | ||
| Method | Modifiers | Description | | ||
| ------------------------------------------------------- | --------- | ----------- | | ||
| [keyById(kid)](./daf-ethr-did.identity.keybyid.md) | | | | ||
| [keyByType(type)](./daf-ethr-did.identity.keybytype.md) | | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [IdentityProvider](./daf-ethr-did.identityprovider.md) > [(constructor)](./daf-ethr-did.identityprovider._constructor_.md) | ||
|
||
## IdentityProvider.(constructor) | ||
|
||
Constructs a new instance of the `IdentityProvider` class | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
constructor(options: { | ||
kms: AbstractKeyManagementSystem; | ||
identityStore: AbstractIdentityStore; | ||
network: string; | ||
rpcUrl: string; | ||
resolver: Resolver; | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | ||
| options | <code>{</code><br/><code> kms: AbstractKeyManagementSystem;</code><br/><code> identityStore: AbstractIdentityStore;</code><br/><code> network: string;</code><br/><code> rpcUrl: string;</code><br/><code> resolver: Resolver;</code><br/><code> }</code> | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [IdentityProvider](./daf-ethr-did.identityprovider.md) > [createIdentity](./daf-ethr-did.identityprovider.createidentity.md) | ||
|
||
## IdentityProvider.createIdentity() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
createIdentity(): Promise<AbstractIdentity>; | ||
``` | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<AbstractIdentity>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [IdentityProvider](./daf-ethr-did.identityprovider.md) > [deleteIdentity](./daf-ethr-did.identityprovider.deleteidentity.md) | ||
|
||
## IdentityProvider.deleteIdentity() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
deleteIdentity(did: string): Promise<boolean>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------------------- | ----------- | | ||
| did | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<boolean>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [IdentityProvider](./daf-ethr-did.identityprovider.md) > [description](./daf-ethr-did.identityprovider.description.md) | ||
|
||
## IdentityProvider.description property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
description: string | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [IdentityProvider](./daf-ethr-did.identityprovider.md) > [getIdentities](./daf-ethr-did.identityprovider.getidentities.md) | ||
|
||
## IdentityProvider.getIdentities() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getIdentities(): Promise<AbstractIdentity[]>; | ||
``` | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<AbstractIdentity[]>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [daf-ethr-did](./daf-ethr-did.md) > [IdentityProvider](./daf-ethr-did.identityprovider.md) > [getIdentity](./daf-ethr-did.identityprovider.getidentity.md) | ||
|
||
## IdentityProvider.getIdentity() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getIdentity(did: string): Promise<AbstractIdentity>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --------- | ------------------- | ----------- | | ||
| did | <code>string</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Promise<AbstractIdentity>` |
Oops, something went wrong.