modules/cache-client.ICacheClient
- addDIDToWatchList
- deleteClaim
- getAppDefinition
- getApplicationRoles
- getApplicationsByOrganization
- getApplicationsByOwner
- getAssetById
- getAssetHistory
- getClaimById
- getClaimsByIssuer
- getClaimsByRequester
- getClaimsByRevoker
- getClaimsBySubject
- getClaimsBySubjects
- getDIDsForRole
- getDidDocument
- getNamespaceBySearchPhrase
- getOfferedAssets
- getOrgDefinition
- getOrgHierarchy
- getOrganizationRoles
- getOrganizationsByOwner
- getOwnedAssets
- getPreviouslyOwnedAssets
- getRoleDefinition
- getRolesByOwner
- getRolesByRevoker
- getRolesDefinition
- getSubOrganizationsByOrganization
- isAuthEnabled
- issueClaim
- login
- rejectClaim
- requestClaim
• pubKeyAndIdentityToken: undefined
| IPubKeyAndIdentityToken
▸ addDIDToWatchList(did
): Promise
<void
>
Name | Type |
---|---|
did |
string |
Promise
<void
>
▸ deleteClaim(claimId
): Promise
<void
>
Name | Type |
---|---|
claimId |
string |
Promise
<void
>
▸ getAppDefinition(namespace
): Promise
<IAppDefinition
>
Name | Type |
---|---|
namespace |
string |
Promise
<IAppDefinition
>
▸ getApplicationRoles(namespace
): Promise
<IRole
[]>
Name | Type |
---|---|
namespace |
string |
Promise
<IRole
[]>
▸ getApplicationsByOrganization(namespace
): Promise
<IApp
[]>
Name | Type |
---|---|
namespace |
string |
Promise
<IApp
[]>
▸ getApplicationsByOwner(owner
): Promise
<IApp
[]>
Name | Type |
---|---|
owner |
string |
Promise
<IApp
[]>
▸ getAssetById(id
): Promise
<Asset
>
Name | Type |
---|---|
id |
string |
Promise
<Asset
>
▸ getAssetHistory(id
, filter?
): Promise
<AssetHistory
[]>
Name | Type |
---|---|
id |
string |
filter? |
AssetsFilter |
Promise
<AssetHistory
[]>
▸ getClaimById(claimId
): Promise
<undefined
| Claim
>
Name | Type |
---|---|
claimId |
string |
Promise
<undefined
| Claim
>
▸ getClaimsByIssuer(issuer
, filter?
): Promise
<Claim
[]>
Name | Type |
---|---|
issuer |
string |
filter? |
ClaimsFilter |
Promise
<Claim
[]>
▸ getClaimsByRequester(requester
, filter?
): Promise
<Claim
[]>
Name | Type |
---|---|
requester |
string |
filter? |
ClaimsFilter |
Promise
<Claim
[]>
▸ getClaimsByRevoker(revoker
, filter?
): Promise
<Claim
[]>
Name | Type |
---|---|
revoker |
string |
filter? |
ClaimsFilter |
Promise
<Claim
[]>
▸ getClaimsBySubject(subject
, filter?
): Promise
<Claim
[]>
Name | Type |
---|---|
subject |
string |
filter? |
ClaimsFilter |
Promise
<Claim
[]>
▸ getClaimsBySubjects(subjects
): Promise
<Claim
[]>
Name | Type |
---|---|
subjects |
string [] |
Promise
<Claim
[]>
▸ getDIDsForRole(namespace
): Promise
<string
[]>
Name | Type |
---|---|
namespace |
string |
Promise
<string
[]>
▸ getDidDocument(did
, includeClaims?
): Promise
<IDIDDocument
>
Name | Type |
---|---|
did |
string |
includeClaims? |
boolean |
Promise
<IDIDDocument
>
▸ getNamespaceBySearchPhrase(phrase
, types?
): Promise
<(IRole
| IOrganization
| IApp
)[]>
Name | Type |
---|---|
phrase |
string |
types? |
SearchType [] |
Promise
<(IRole
| IOrganization
| IApp
)[]>
▸ getOfferedAssets(offeredTo
): Promise
<Asset
[]>
Name | Type |
---|---|
offeredTo |
string |
Promise
<Asset
[]>
▸ getOrgDefinition(namespace
): Promise
<IOrganizationDefinition
>
Name | Type |
---|---|
namespace |
string |
Promise
<IOrganizationDefinition
>
▸ getOrgHierarchy(namespace
): Promise
<IOrganization
>
Name | Type |
---|---|
namespace |
string |
Promise
<IOrganization
>
▸ getOrganizationRoles(namespace
): Promise
<IRole
[]>
Name | Type |
---|---|
namespace |
string |
Promise
<IRole
[]>
▸ getOrganizationsByOwner(owner
, excludeSubOrgs?
): Promise
<IOrganization
[]>
Name | Type |
---|---|
owner |
string |
excludeSubOrgs? |
boolean |
Promise
<IOrganization
[]>
▸ getOwnedAssets(owner
): Promise
<Asset
[]>
Name | Type |
---|---|
owner |
string |
Promise
<Asset
[]>
▸ getPreviouslyOwnedAssets(owner
): Promise
<Asset
[]>
Name | Type |
---|---|
owner |
string |
Promise
<Asset
[]>
▸ getRoleDefinition(namespace
): Promise
<IRoleDefinition
>
Name | Type |
---|---|
namespace |
string |
Promise
<IRoleDefinition
>
▸ getRolesByOwner(owner
): Promise
<IRole
[]>
Name | Type |
---|---|
owner |
string |
Promise
<IRole
[]>
▸ getRolesByRevoker(revoker
): Promise
<IRole
[]>
Name | Type |
---|---|
revoker |
string |
Promise
<IRole
[]>
▸ getRolesDefinition(namespace
): Promise
<Record
<string
, IRoleDefinition
>>
Name | Type |
---|---|
namespace |
string [] |
Promise
<Record
<string
, IRoleDefinition
>>
▸ getSubOrganizationsByOrganization(namespace
): Promise
<IOrganization
[]>
Name | Type |
---|---|
namespace |
string |
Promise
<IOrganization
[]>
▸ isAuthEnabled(): boolean
boolean
▸ issueClaim(issuer
, message
): Promise
<void
>
Name | Type |
---|---|
issuer |
string |
message |
IClaimIssuance |
Promise
<void
>
▸ login(): Promise
<void
>
Promise
<void
>
▸ rejectClaim(issuer
, message
): Promise
<void
>
Name | Type |
---|---|
issuer |
string |
message |
IClaimRejection |
Promise
<void
>
▸ requestClaim(message
): Promise
<void
>
Name | Type |
---|---|
message |
IClaimRequest |
Promise
<void
>