MedTechApiBuilder
@icure/medical-device-sdk / MedTechApiBuilder
Class: MedTechApiBuilder
Table of contents
Constructors
Properties
- _keyStorage
- _preventCookieUsage
- _storage
- authProcessByEmailId
- authProcessBySmsId
- crypto
- iCureBaseUrl
- msgGwSpecId
- msgGwUrl
- password
- userName
Methods
- build
- preventCookieUsage
- withAuthProcessByEmailId
- withAuthProcessBySmsId
- withCrypto
- withICureBaseUrl
- withKeyStorage
- withMsgGwSpecId
- withMsgGwUrl
- withPassword
- withStorage
- withUserName
Constructors
constructor
• new MedTechApiBuilder()
Properties
_keyStorage
• Private
Optional
_keyStorage: KeyStorageFacade
Defined in
_preventCookieUsage
• Private
_preventCookieUsage: boolean
= false
Defined in
_storage
• Private
Optional
_storage: StorageFacade
<string
>
Defined in
authProcessByEmailId
• Private
Optional
authProcessByEmailId: string
Defined in
authProcessBySmsId
• Private
Optional
authProcessBySmsId: string
Defined in
crypto
• Private
Optional
crypto: Crypto
Defined in
iCureBaseUrl
• Private
Optional
iCureBaseUrl: string
= ICURE_CLOUD_URL
Defined in
msgGwSpecId
• Private
Optional
msgGwSpecId: string
Defined in
msgGwUrl
• Private
Optional
msgGwUrl: string
= MSG_GW_CLOUD_URL
Defined in
password
• Private
Optional
password: string
Defined in
userName
• Private
Optional
userName: string
Defined in
Methods
build
▸ build(): Promise
<MedTechApi
>
Returns
Promise
<MedTechApi
>
Defined in
preventCookieUsage
▸ preventCookieUsage(): MedTechApiBuilder
Returns
Defined in
withAuthProcessByEmailId
▸ withAuthProcessByEmailId(authProcessByEmailId
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
authProcessByEmailId | string |
Returns
Defined in
withAuthProcessBySmsId
▸ withAuthProcessBySmsId(authProcessBySmsId
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
authProcessBySmsId | string |
Returns
Defined in
withCrypto
▸ withCrypto(newCrypto
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
newCrypto | Crypto |
Returns
Defined in
withICureBaseUrl
▸ withICureBaseUrl(newICureBaseUrl
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
newICureBaseUrl | string |
Returns
Defined in
withKeyStorage
▸ withKeyStorage(keyStorage
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
keyStorage | KeyStorageFacade |
Returns
Defined in
withMsgGwSpecId
▸ withMsgGwSpecId(newSpecId
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
newSpecId | undefined | string |
Returns
Defined in
withMsgGwUrl
▸ withMsgGwUrl(newMsgGwUrl
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
newMsgGwUrl | undefined | string |
Returns
Defined in
withPassword
▸ withPassword(newPassword
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
newPassword | string |
Returns
Defined in
withStorage
▸ withStorage(storage
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
storage | StorageFacade <string > |
Returns
Defined in
withUserName
▸ withUserName(newUserName
): MedTechApiBuilder
Parameters
Name | Type |
---|---|
newUserName | string |