@triveria/wallet / Exports / Client
Class: Client
DefaultApi - object-oriented interface
Export
Hierarchy
-
↳
Client
Table of contents
Constructors
Properties
Methods
- accreditAsTrustedIssuer
- credentialCreate
- credentialGet
- credentialImport
- credentialList
- credentialMetadataPatch
- credentialPatch
- credentialRequest
- deferredStatus
- getCurrentDid
- healthCheck
- holderCreateAuthOffer
- issuerCredentialTypesList
- oidcAcceptOffer
- oidcAddCredToIssuanceQueue
- oidcCreateIdTokenRequest
- oidcInitiateDeferred
- oidcInitiateIntime
- oidcInitiatePreauth
- oidcPresentCredentials
- oidcSendIdToken
- oidcVerifyInitUrl
- onboardLegalEntity
- walletGet
- walletList
- walletNotifications
- walletSave
Constructors
constructor
• new Client(clientId, clientSecret, baseURL?, axios?): Client
Parameters
| Name | Type | Default value |
|---|---|---|
clientId | string | undefined |
clientSecret | string | undefined |
baseURL | string | "https://wallet.dev.triveria.io/api/v1" |
axios | AxiosInstance | globalAxios |
Returns
Overrides
Defined in
Properties
axios
• Protected axios: AxiosInstance = globalAxios
Inherited from
Defined in
basePath
• Protected basePath: string = BASE_PATH
Inherited from
Defined in
baseURL
• Protected baseURL: string = "https://wallet.dev.triveria.io/api/v1"
Defined in
configuration
• Protected configuration: undefined | Configuration
Inherited from
Defined in
Methods
accreditAsTrustedIssuer
▸ accreditAsTrustedIssuer(walletId, options?): Promise<AxiosResponse<void, any>>
TBD
Parameters
| Name | Type | Description |
|---|---|---|
walletId | string | |
options? | RawAxiosRequestConfig | Override http request option. |
Returns
Promise<AxiosResponse<void, any>>
Throws
Memberof
DefaultApi
Inherited from
DefaultApi.accreditAsTrustedIssuer
Defined in
credentialCreate
▸ credentialCreate(walletId, credentialPayload?, options?): Promise<AxiosResponse<CredentialIdObject, any>>
Creates a new credential, which is always created in a draft state.
Parameters
| Name | Type | Description |
|---|---|---|
walletId | string | |
credentialPayload? | CredentialPayload | A Verifiable Credential payload in JSON format. |
options? | RawAxiosRequestConfig | Override http request option. |
Returns
Promise<AxiosResponse<CredentialIdObject, any>>
Throws
Memberof
DefaultApi