Methods
attributesByType
- attributesByType(type: string[]): Promise<{ results: any[]; type: string[] }>
-
Parameters
Returns Promise<{ results: any[]; type: string[] }>
credentialMetadata
-
Parameters
-
credential: SignedCredential
encryptedWallet
-
Parameters
-
Optional id: undefined | string
identity
- identity(did: string): Promise<Identity | undefined>
-
Parameters
Returns Promise<Identity | undefined>
interactionTokens
- interactionTokens(attrs: { issuer?: undefined | string; nonce?: undefined | string; type?: undefined | string }): Promise<Array<JSONWebToken<any>>>
-
Parameters
-
attrs: { issuer?: undefined | string; nonce?: undefined | string; type?: undefined | string }
-
Optional issuer?: undefined | string
-
Optional nonce?: undefined | string
-
Optional type?: undefined | string
Returns Promise<Array<JSONWebToken<any>>>
setting
- setting(key: string): Promise<any>
-
Parameters
Returns Promise<any>
settingsObject
- settingsObject(): Promise<{}>
vCredentialsByAttributeValue
- vCredentialsByAttributeValue(attribute: string): Promise<SignedCredential[]>
-
Parameters
Returns Promise<SignedCredential[]>
verifiableCredential
- verifiableCredential(query?: undefined | object): Promise<SignedCredential[]>
-
Parameters
-
Optional query: undefined | object
Returns Promise<SignedCredential[]>