ibm-cloud-sdk-core 4.2.4 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/.secrets.baseline +17 -17
  2. package/CHANGELOG.md +14 -0
  3. package/auth/token-managers/container-token-manager.d.ts +1 -1
  4. package/auth/token-managers/container-token-manager.js +3 -1
  5. package/auth/token-managers/cp4d-token-manager.d.ts +1 -1
  6. package/auth/token-managers/cp4d-token-manager.js +4 -1
  7. package/auth/token-managers/iam-request-based-token-manager.js +2 -1
  8. package/auth/token-managers/iam-token-manager.d.ts +1 -1
  9. package/auth/token-managers/iam-token-manager.js +3 -1
  10. package/auth/token-managers/mcsp-token-manager.d.ts +1 -1
  11. package/auth/token-managers/mcsp-token-manager.js +4 -1
  12. package/auth/token-managers/token-manager.d.ts +1 -0
  13. package/auth/token-managers/vpc-instance-token-manager.js +4 -0
  14. package/auth/utils/file-reading-helpers.d.ts +1 -1
  15. package/auth/utils/file-reading-helpers.js +1 -1
  16. package/auth/utils/read-external-sources.js +4 -4
  17. package/build/docs/ibm-cloud-sdk-core.atleastone.md +48 -4
  18. package/build/docs/ibm-cloud-sdk-core.atmostone.md +48 -4
  19. package/build/docs/ibm-cloud-sdk-core.authenticator.authenticate.md +32 -3
  20. package/build/docs/ibm-cloud-sdk-core.authenticator.md +270 -18
  21. package/build/docs/ibm-cloud-sdk-core.authenticatorinterface.authenticate.md +32 -3
  22. package/build/docs/ibm-cloud-sdk-core.authenticatorinterface.md +33 -4
  23. package/build/docs/ibm-cloud-sdk-core.baseservice._constructor_.md +32 -3
  24. package/build/docs/ibm-cloud-sdk-core.baseservice.configureservice.md +32 -3
  25. package/build/docs/ibm-cloud-sdk-core.baseservice.convertmodel.md +64 -5
  26. package/build/docs/ibm-cloud-sdk-core.baseservice.createrequest.md +32 -3
  27. package/build/docs/ibm-cloud-sdk-core.baseservice.createrequestanddeserializeresponse.md +64 -5
  28. package/build/docs/ibm-cloud-sdk-core.baseservice.enableretries.md +32 -3
  29. package/build/docs/ibm-cloud-sdk-core.baseservice.md +288 -21
  30. package/build/docs/ibm-cloud-sdk-core.baseservice.setdefaultheaders.md +32 -3
  31. package/build/docs/ibm-cloud-sdk-core.baseservice.setenablegzipcompression.md +32 -3
  32. package/build/docs/ibm-cloud-sdk-core.baseservice.setserviceurl.md +32 -3
  33. package/build/docs/ibm-cloud-sdk-core.basicauthenticator._constructor_.md +33 -3
  34. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.authenticate.md +32 -3
  35. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.md +137 -11
  36. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator._constructor_.md +33 -3
  37. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.authenticate.md +32 -3
  38. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.md +132 -11
  39. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.setbearertoken.md +32 -3
  40. package/build/docs/ibm-cloud-sdk-core.buildrequestfileobject.md +32 -3
  41. package/build/docs/ibm-cloud-sdk-core.checkcredentials.md +48 -4
  42. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator._constructor_.md +33 -3
  43. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator.md +121 -10
  44. package/build/docs/ibm-cloud-sdk-core.computebasicauthheader.md +48 -4
  45. package/build/docs/ibm-cloud-sdk-core.constructfilepath.md +30 -3
  46. package/build/docs/ibm-cloud-sdk-core.constructserviceurl.md +64 -5
  47. package/build/docs/ibm-cloud-sdk-core.containerauthenticator._constructor_.md +33 -3
  48. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.md +144 -12
  49. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setcrtokenfilename.md +32 -3
  50. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setiamprofileid.md +32 -3
  51. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setiamprofilename.md +32 -3
  52. package/build/docs/ibm-cloud-sdk-core.containertokenmanager._constructor_.md +33 -3
  53. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.md +121 -10
  54. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setcrtokenfilename.md +32 -3
  55. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setiamprofileid.md +32 -3
  56. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setiamprofilename.md +32 -3
  57. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager._constructor_.md +33 -3
  58. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager.md +102 -9
  59. package/build/docs/ibm-cloud-sdk-core.fileexistsatpath.md +30 -3
  60. package/build/docs/ibm-cloud-sdk-core.fileobject.md +57 -4
  61. package/build/docs/ibm-cloud-sdk-core.fileoptions.md +59 -4
  62. package/build/docs/ibm-cloud-sdk-core.filestream.md +38 -3
  63. package/build/docs/ibm-cloud-sdk-core.filewithmetadata.md +72 -5
  64. package/build/docs/ibm-cloud-sdk-core.getauthenticatorfromenvironment.md +32 -3
  65. package/build/docs/ibm-cloud-sdk-core.getcontenttype.md +32 -3
  66. package/build/docs/ibm-cloud-sdk-core.getformat.md +46 -4
  67. package/build/docs/ibm-cloud-sdk-core.getmissingparams.md +48 -4
  68. package/build/docs/ibm-cloud-sdk-core.getnewlogger.md +32 -3
  69. package/build/docs/ibm-cloud-sdk-core.getqueryparam.md +48 -4
  70. package/build/docs/ibm-cloud-sdk-core.iamauthenticator._constructor_.md +33 -3
  71. package/build/docs/ibm-cloud-sdk-core.iamauthenticator.md +121 -10
  72. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator._constructor_.md +33 -3
  73. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.md +187 -14
  74. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.setclientidandsecret.md +48 -4
  75. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.setscope.md +32 -3
  76. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager._constructor_.md +33 -3
  77. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.md +197 -15
  78. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.savetokeninfo.md +32 -3
  79. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.setclientidandsecret.md +48 -4
  80. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.setscope.md +32 -3
  81. package/build/docs/ibm-cloud-sdk-core.iamrequestoptions.md +78 -5
  82. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager._constructor_.md +33 -3
  83. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager.md +71 -6
  84. package/build/docs/ibm-cloud-sdk-core.isemptyobject.md +30 -3
  85. package/build/docs/ibm-cloud-sdk-core.isfiledata.md +30 -3
  86. package/build/docs/ibm-cloud-sdk-core.isfilewithmetadata.md +30 -3
  87. package/build/docs/ibm-cloud-sdk-core.ishtml.md +32 -3
  88. package/build/docs/ibm-cloud-sdk-core.isjsonmimetype.md +32 -3
  89. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager._constructor_.md +32 -3
  90. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.md +139 -11
  91. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.savetokeninfo.md +32 -3
  92. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator._constructor_.md +33 -3
  93. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator.md +121 -10
  94. package/build/docs/ibm-cloud-sdk-core.mcsptokenmanager._constructor_.md +33 -3
  95. package/build/docs/ibm-cloud-sdk-core.mcsptokenmanager.md +102 -9
  96. package/build/docs/ibm-cloud-sdk-core.md +794 -75
  97. package/build/docs/ibm-cloud-sdk-core.noauthauthenticator.authenticate.md +30 -3
  98. package/build/docs/ibm-cloud-sdk-core.noauthauthenticator.md +42 -4
  99. package/build/docs/ibm-cloud-sdk-core.onlyone.md +48 -4
  100. package/build/docs/ibm-cloud-sdk-core.readcrtokenfile.md +30 -3
  101. package/build/docs/ibm-cloud-sdk-core.readexternalsources.md +32 -3
  102. package/build/docs/ibm-cloud-sdk-core.removesuffix.md +48 -4
  103. package/build/docs/ibm-cloud-sdk-core.sdklogger.md +106 -7
  104. package/build/docs/ibm-cloud-sdk-core.streamtopromise.md +32 -3
  105. package/build/docs/ibm-cloud-sdk-core.striptrailingslash.md +32 -3
  106. package/build/docs/ibm-cloud-sdk-core.tokenmanager._constructor_.md +32 -3
  107. package/build/docs/ibm-cloud-sdk-core.tokenmanager.md +329 -21
  108. package/build/docs/ibm-cloud-sdk-core.tokenmanager.savetokeninfo.md +32 -3
  109. package/build/docs/ibm-cloud-sdk-core.tokenmanager.setdisablesslverification.md +32 -3
  110. package/build/docs/ibm-cloud-sdk-core.tokenmanager.setheaders.md +32 -3
  111. package/build/docs/ibm-cloud-sdk-core.tokenmanager.useragent.md +11 -0
  112. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator._constructor_.md +32 -3
  113. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.authenticate.md +32 -3
  114. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.md +189 -14
  115. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.setdisablesslverification.md +32 -3
  116. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.setheaders.md +32 -3
  117. package/build/docs/ibm-cloud-sdk-core.tolowerkeys.md +32 -3
  118. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkforsuccessfulexecution.md +32 -3
  119. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkmediaheaders.md +64 -5
  120. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkurlandmethod.md +64 -5
  121. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkuserheader.md +64 -5
  122. package/build/docs/ibm-cloud-sdk-core.unittestutils.expecttobepromise.md +32 -3
  123. package/build/docs/ibm-cloud-sdk-core.unittestutils.getoptions.md +32 -3
  124. package/build/docs/ibm-cloud-sdk-core.unittestutils.md +77 -8
  125. package/build/docs/ibm-cloud-sdk-core.useroptions.md +154 -9
  126. package/build/docs/ibm-cloud-sdk-core.validateinput.md +48 -4
  127. package/build/docs/ibm-cloud-sdk-core.validateparams.md +64 -5
  128. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator._constructor_.md +33 -3
  129. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.md +130 -11
  130. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofilecrn.md +32 -3
  131. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofileid.md +32 -3
  132. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager._constructor_.md +33 -3
  133. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.md +105 -9
  134. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofilecrn.md +32 -3
  135. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofileid.md +32 -3
  136. package/build/docs/index.md +20 -3
  137. package/docs/ibm-cloud-sdk-core.api.json +31 -1
  138. package/es/auth/token-managers/container-token-manager.d.ts +1 -1
  139. package/es/auth/token-managers/container-token-manager.js +3 -1
  140. package/es/auth/token-managers/cp4d-token-manager.d.ts +1 -1
  141. package/es/auth/token-managers/cp4d-token-manager.js +4 -1
  142. package/es/auth/token-managers/iam-request-based-token-manager.js +2 -1
  143. package/es/auth/token-managers/iam-token-manager.d.ts +1 -1
  144. package/es/auth/token-managers/iam-token-manager.js +3 -1
  145. package/es/auth/token-managers/mcsp-token-manager.d.ts +1 -1
  146. package/es/auth/token-managers/mcsp-token-manager.js +4 -1
  147. package/es/auth/token-managers/token-manager.d.ts +1 -0
  148. package/es/auth/token-managers/vpc-instance-token-manager.js +4 -0
  149. package/es/auth/utils/file-reading-helpers.d.ts +1 -1
  150. package/es/auth/utils/file-reading-helpers.js +1 -1
  151. package/es/auth/utils/read-external-sources.js +4 -4
  152. package/es/lib/base-service.d.ts +2 -1
  153. package/es/lib/base-service.js +9 -1
  154. package/es/lib/build-user-agent.d.ts +21 -0
  155. package/es/lib/build-user-agent.js +27 -0
  156. package/es/tsdoc-metadata.json +1 -1
  157. package/etc/ibm-cloud-sdk-core.api.md +2 -0
  158. package/ibm-cloud-sdk-core.d.ts +3 -1
  159. package/lib/base-service.d.ts +2 -1
  160. package/lib/base-service.js +9 -1
  161. package/lib/build-user-agent.d.ts +21 -0
  162. package/lib/build-user-agent.js +32 -0
  163. package/package.json +10 -15
  164. package/temp/ibm-cloud-sdk-core.api.json +31 -1
  165. package/temp/ibm-cloud-sdk-core.api.md +2 -0
  166. package/.nvmrc +0 -1
@@ -6,94 +6,813 @@
6
6
 
7
7
  ## Classes
8
8
 
9
- | Class | Description |
10
- | --- | --- |
11
- | [Authenticator](./ibm-cloud-sdk-core.authenticator.md) | Base Authenticator class for other Authenticators to extend. Not intended to be used as a stand-alone authenticator. |
12
- | [BaseService](./ibm-cloud-sdk-core.baseservice.md) | <p>Common functionality shared by generated service classes.</p><p>The base service authenticates requests via its authenticator, and sends them to the service endpoint.</p> |
13
- | [BasicAuthenticator](./ibm-cloud-sdk-core.basicauthenticator.md) | <p>The BasicAuthenticator is used to add basic authentication information to requests.</p><p>Basic Authorization will be sent as an Authorization header in the form:</p><p>Authorization: Basic &lt;<!-- -->encoded username and password<!-- -->&gt;</p> |
14
- | [BearerTokenAuthenticator](./ibm-cloud-sdk-core.bearertokenauthenticator.md) | <p>The BearerTokenAuthenticator will set a user-provided bearer token in requests.</p><p>The bearer token will be sent as an Authorization header in the form:</p><p>Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;</p> |
15
- | [CloudPakForDataAuthenticator](./ibm-cloud-sdk-core.cloudpakfordataauthenticator.md) | <p>The CloudPakForDataAuthenticator will either use a username/password pair or a username/apikey pair to obtain a bearer token from a token server. When the bearer token expires, a new token is obtained from the token server.</p><p>The bearer token will be sent as an Authorization header in the form:</p><p>Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;</p> |
16
- | [ContainerAuthenticator](./ibm-cloud-sdk-core.containerauthenticator.md) | <p>The ContainerAuthenticator will read a compute resource token from the file system and use this value to obtain a bearer token from the IAM token server. When the bearer token expires, a new token is obtained from the token server.</p><p>The bearer token will be sent as an Authorization header in the form:</p><p>Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;</p> |
17
- | [ContainerTokenManager](./ibm-cloud-sdk-core.containertokenmanager.md) | The ContainerTokenManager retrieves a compute resource token from a file on the container. This token is used to perform the necessary interactions with the IAM token service to obtain and store a suitable bearer (access) token. |
18
- | [Cp4dTokenManager](./ibm-cloud-sdk-core.cp4dtokenmanager.md) | <p>Token Manager of CloudPak for data.</p><p>The Token Manager performs basic auth with a username and password to acquire CP4D tokens.</p> |
19
- | [IamAuthenticator](./ibm-cloud-sdk-core.iamauthenticator.md) | <p>The IamAuthenticator will use the user-supplied <code>apikey</code> value to obtain a bearer token from a token server. When the bearer token expires, a new token is obtained from the token server. If specified, the optional, mutually inclusive "clientId" and "clientSecret" pair can be used to influence rate-limiting for requests to the IAM token server.</p><p>The bearer token will be sent as an Authorization header in the form:</p><p>Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;</p> |
20
- | [IamRequestBasedAuthenticator](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.md) | The IamRequestBasedAuthenticator provides shared configuration and functionality for authenticators that interact with the IAM token service. This authenticator is not meant for use on its own. |
21
- | [IamRequestBasedTokenManager](./ibm-cloud-sdk-core.iamrequestbasedtokenmanager.md) | The IamRequestBasedTokenManager class contains code relevant to any token manager that interacts with the IAM service to manage a token. It stores information relevant to all IAM requests, such as the client ID and secret, and performs the token request with a set of request options common to any IAM token management scheme. It is intended that this class be extended with specific implementations. |
22
- | [IamTokenManager](./ibm-cloud-sdk-core.iamtokenmanager.md) | The IAMTokenManager takes an api key and performs the necessary interactions with the IAM token service to obtain and store a suitable bearer token. Additionally, the IAMTokenManager will retrieve bearer tokens via basic auth using a supplied "clientId" and "clientSecret" pair. |
23
- | [JwtTokenManager](./ibm-cloud-sdk-core.jwttokenmanager.md) | A class for shared functionality for parsing, storing, and requesting JWT tokens. Intended to be used as a parent to be extended for token request management. Child classes should implement <code>requestToken()</code> to retrieve the bearer token from intended sources. |
24
- | [McspAuthenticator](./ibm-cloud-sdk-core.mcspauthenticator.md) | The McspAuthenticator uses an apikey to obtain an access token from the MCSP token server. When the access token expires, a new access token is obtained from the token server. The access token will be added to outbound requests via the Authorization header of the form: "Authorization: Bearer <access-token>" |
25
- | [McspTokenManager](./ibm-cloud-sdk-core.mcsptokenmanager.md) | <p>Token Manager for Multi-Cloud Saas Platform (MCSP) authenticator.</p><p>The Token Manager will invoke the MCSP token service's 'POST /siusermgr/api/1.0/apikeys/token' operation to obtain an MCSP access token for a user-supplied apikey.</p> |
26
- | [NoAuthAuthenticator](./ibm-cloud-sdk-core.noauthauthenticator.md) | NoAuthAuthenticator is a placeholder authenticator implementation which performs no authentication of outgoing REST API requests. It might be useful during development and testing. |
27
- | [TokenManager](./ibm-cloud-sdk-core.tokenmanager.md) | A class for shared functionality for storing, and requesting tokens. Intended to be used as a parent to be extended for token request management. Child classes should implement "requestToken()" to retrieve the token from intended sources and "saveTokenInfo(tokenResponse)" to parse and save token information from the response. |
28
- | [TokenRequestBasedAuthenticator](./ibm-cloud-sdk-core.tokenrequestbasedauthenticator.md) | <p>Class for common functionality shared by token-request authenticators. TokenRequestBasedAuthenticators use token managers to retrieve, store, and refresh tokens. Not intended to be used as stand-alone authenticator, but as base class to authenticators that have their own token manager implementations.</p><p>The token will be added as an Authorization header in the form:</p><p>Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;</p> |
29
- | [VpcInstanceAuthenticator](./ibm-cloud-sdk-core.vpcinstanceauthenticator.md) | <p>The VpcInstanceAuthenticator implements an authentication scheme in which it retrieves an "instance identity token" and exchanges that for an IAM access token using the VPC Instance Metadata Service API which is available on the local compute resource (VM). The instance identity token is similar to an IAM apikey, except that it is managed automatically by the compute resource provider (VPC).</p><p>The resulting IAM access token is then added to outbound requests in an Authorization header</p><p>Authorization: Bearer &lt;<!-- -->access-token<!-- -->&gt;</p> |
30
- | [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) | Token Manager for VPC Instance Authentication. |
9
+ <table><thead><tr><th>
10
+
11
+ Class
12
+
13
+
14
+ </th><th>
15
+
16
+ Description
17
+
18
+
19
+ </th></tr></thead>
20
+ <tbody><tr><td>
21
+
22
+ [Authenticator](./ibm-cloud-sdk-core.authenticator.md)
23
+
24
+
25
+ </td><td>
26
+
27
+ Base Authenticator class for other Authenticators to extend. Not intended to be used as a stand-alone authenticator.
28
+
29
+
30
+ </td></tr>
31
+ <tr><td>
32
+
33
+ [BaseService](./ibm-cloud-sdk-core.baseservice.md)
34
+
35
+
36
+ </td><td>
37
+
38
+ Common functionality shared by generated service classes.
39
+
40
+ The base service authenticates requests via its authenticator, and sends them to the service endpoint.
41
+
42
+
43
+ </td></tr>
44
+ <tr><td>
45
+
46
+ [BasicAuthenticator](./ibm-cloud-sdk-core.basicauthenticator.md)
47
+
48
+
49
+ </td><td>
50
+
51
+ The BasicAuthenticator is used to add basic authentication information to requests.
52
+
53
+ Basic Authorization will be sent as an Authorization header in the form:
54
+
55
+ Authorization: Basic &lt;<!-- -->encoded username and password<!-- -->&gt;
56
+
57
+
58
+ </td></tr>
59
+ <tr><td>
60
+
61
+ [BearerTokenAuthenticator](./ibm-cloud-sdk-core.bearertokenauthenticator.md)
62
+
63
+
64
+ </td><td>
65
+
66
+ The BearerTokenAuthenticator will set a user-provided bearer token in requests.
67
+
68
+ The bearer token will be sent as an Authorization header in the form:
69
+
70
+ Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;
71
+
72
+
73
+ </td></tr>
74
+ <tr><td>
75
+
76
+ [CloudPakForDataAuthenticator](./ibm-cloud-sdk-core.cloudpakfordataauthenticator.md)
77
+
78
+
79
+ </td><td>
80
+
81
+ The CloudPakForDataAuthenticator will either use a username/password pair or a username/apikey pair to obtain a bearer token from a token server. When the bearer token expires, a new token is obtained from the token server.
82
+
83
+ The bearer token will be sent as an Authorization header in the form:
84
+
85
+ Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;
86
+
87
+
88
+ </td></tr>
89
+ <tr><td>
90
+
91
+ [ContainerAuthenticator](./ibm-cloud-sdk-core.containerauthenticator.md)
92
+
93
+
94
+ </td><td>
95
+
96
+ The ContainerAuthenticator will read a compute resource token from the file system and use this value to obtain a bearer token from the IAM token server. When the bearer token expires, a new token is obtained from the token server.
97
+
98
+ The bearer token will be sent as an Authorization header in the form:
99
+
100
+ Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;
101
+
102
+
103
+ </td></tr>
104
+ <tr><td>
105
+
106
+ [ContainerTokenManager](./ibm-cloud-sdk-core.containertokenmanager.md)
107
+
108
+
109
+ </td><td>
110
+
111
+ The ContainerTokenManager retrieves a compute resource token from a file on the container. This token is used to perform the necessary interactions with the IAM token service to obtain and store a suitable bearer (access) token.
112
+
113
+
114
+ </td></tr>
115
+ <tr><td>
116
+
117
+ [Cp4dTokenManager](./ibm-cloud-sdk-core.cp4dtokenmanager.md)
118
+
119
+
120
+ </td><td>
121
+
122
+ Token Manager of CloudPak for data.
123
+
124
+ The Token Manager performs basic auth with a username and password to acquire CP4D tokens.
125
+
126
+
127
+ </td></tr>
128
+ <tr><td>
129
+
130
+ [IamAuthenticator](./ibm-cloud-sdk-core.iamauthenticator.md)
131
+
132
+
133
+ </td><td>
134
+
135
+ The IamAuthenticator will use the user-supplied `apikey` value to obtain a bearer token from a token server. When the bearer token expires, a new token is obtained from the token server. If specified, the optional, mutually inclusive "clientId" and "clientSecret" pair can be used to influence rate-limiting for requests to the IAM token server.
136
+
137
+ The bearer token will be sent as an Authorization header in the form:
138
+
139
+ Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;
140
+
141
+
142
+ </td></tr>
143
+ <tr><td>
144
+
145
+ [IamRequestBasedAuthenticator](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.md)
146
+
147
+
148
+ </td><td>
149
+
150
+ The IamRequestBasedAuthenticator provides shared configuration and functionality for authenticators that interact with the IAM token service. This authenticator is not meant for use on its own.
151
+
152
+
153
+ </td></tr>
154
+ <tr><td>
155
+
156
+ [IamRequestBasedTokenManager](./ibm-cloud-sdk-core.iamrequestbasedtokenmanager.md)
157
+
158
+
159
+ </td><td>
160
+
161
+ The IamRequestBasedTokenManager class contains code relevant to any token manager that interacts with the IAM service to manage a token. It stores information relevant to all IAM requests, such as the client ID and secret, and performs the token request with a set of request options common to any IAM token management scheme. It is intended that this class be extended with specific implementations.
162
+
163
+
164
+ </td></tr>
165
+ <tr><td>
166
+
167
+ [IamTokenManager](./ibm-cloud-sdk-core.iamtokenmanager.md)
168
+
169
+
170
+ </td><td>
171
+
172
+ The IAMTokenManager takes an api key and performs the necessary interactions with the IAM token service to obtain and store a suitable bearer token. Additionally, the IAMTokenManager will retrieve bearer tokens via basic auth using a supplied "clientId" and "clientSecret" pair.
173
+
174
+
175
+ </td></tr>
176
+ <tr><td>
177
+
178
+ [JwtTokenManager](./ibm-cloud-sdk-core.jwttokenmanager.md)
179
+
180
+
181
+ </td><td>
182
+
183
+ A class for shared functionality for parsing, storing, and requesting JWT tokens. Intended to be used as a parent to be extended for token request management. Child classes should implement `requestToken()` to retrieve the bearer token from intended sources.
184
+
185
+
186
+ </td></tr>
187
+ <tr><td>
188
+
189
+ [McspAuthenticator](./ibm-cloud-sdk-core.mcspauthenticator.md)
190
+
191
+
192
+ </td><td>
193
+
194
+ The McspAuthenticator uses an apikey to obtain an access token from the MCSP token server. When the access token expires, a new access token is obtained from the token server. The access token will be added to outbound requests via the Authorization header of the form: "Authorization: Bearer <access-token>"
195
+
196
+
197
+ </td></tr>
198
+ <tr><td>
199
+
200
+ [McspTokenManager](./ibm-cloud-sdk-core.mcsptokenmanager.md)
201
+
202
+
203
+ </td><td>
204
+
205
+ Token Manager for Multi-Cloud Saas Platform (MCSP) authenticator.
206
+
207
+ The Token Manager will invoke the MCSP token service's 'POST /siusermgr/api/1.0/apikeys/token' operation to obtain an MCSP access token for a user-supplied apikey.
208
+
209
+
210
+ </td></tr>
211
+ <tr><td>
212
+
213
+ [NoAuthAuthenticator](./ibm-cloud-sdk-core.noauthauthenticator.md)
214
+
215
+
216
+ </td><td>
217
+
218
+ NoAuthAuthenticator is a placeholder authenticator implementation which performs no authentication of outgoing REST API requests. It might be useful during development and testing.
219
+
220
+
221
+ </td></tr>
222
+ <tr><td>
223
+
224
+ [TokenManager](./ibm-cloud-sdk-core.tokenmanager.md)
225
+
226
+
227
+ </td><td>
228
+
229
+ A class for shared functionality for storing, and requesting tokens. Intended to be used as a parent to be extended for token request management. Child classes should implement "requestToken()" to retrieve the token from intended sources and "saveTokenInfo(tokenResponse)" to parse and save token information from the response.
230
+
231
+
232
+ </td></tr>
233
+ <tr><td>
234
+
235
+ [TokenRequestBasedAuthenticator](./ibm-cloud-sdk-core.tokenrequestbasedauthenticator.md)
236
+
237
+
238
+ </td><td>
239
+
240
+ Class for common functionality shared by token-request authenticators. TokenRequestBasedAuthenticators use token managers to retrieve, store, and refresh tokens. Not intended to be used as stand-alone authenticator, but as base class to authenticators that have their own token manager implementations.
241
+
242
+ The token will be added as an Authorization header in the form:
243
+
244
+ Authorization: Bearer &lt;<!-- -->bearer-token<!-- -->&gt;
245
+
246
+
247
+ </td></tr>
248
+ <tr><td>
249
+
250
+ [VpcInstanceAuthenticator](./ibm-cloud-sdk-core.vpcinstanceauthenticator.md)
251
+
252
+
253
+ </td><td>
254
+
255
+ The VpcInstanceAuthenticator implements an authentication scheme in which it retrieves an "instance identity token" and exchanges that for an IAM access token using the VPC Instance Metadata Service API which is available on the local compute resource (VM). The instance identity token is similar to an IAM apikey, except that it is managed automatically by the compute resource provider (VPC).
256
+
257
+ The resulting IAM access token is then added to outbound requests in an Authorization header
258
+
259
+ Authorization: Bearer &lt;<!-- -->access-token<!-- -->&gt;
260
+
261
+
262
+ </td></tr>
263
+ <tr><td>
264
+
265
+ [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md)
266
+
267
+
268
+ </td><td>
269
+
270
+ Token Manager for VPC Instance Authentication.
271
+
272
+
273
+ </td></tr>
274
+ </tbody></table>
31
275
 
32
276
  ## Functions
33
277
 
34
- | Function | Description |
35
- | --- | --- |
36
- | [atLeastOne(a, b)](./ibm-cloud-sdk-core.atleastone.md) | Checks for at least one of two elements being defined. |
37
- | [atMostOne(a, b)](./ibm-cloud-sdk-core.atmostone.md) | Verifies that both properties are not specified. |
38
- | [buildRequestFileObject(fileParam)](./ibm-cloud-sdk-core.buildrequestfileobject.md) | This function builds a <code>form-data</code> object for each file parameter. |
39
- | [checkCredentials(obj, credsToCheck)](./ibm-cloud-sdk-core.checkcredentials.md) | Checks credentials for common user mistakes of copying {<!-- -->, }<!-- -->, or " characters from the documentation |
40
- | [computeBasicAuthHeader(username, password)](./ibm-cloud-sdk-core.computebasicauthheader.md) | Compute and return a Basic Authorization header from a username and password. |
41
- | [constructFilepath(filepath)](./ibm-cloud-sdk-core.constructfilepath.md) | |
42
- | [constructServiceUrl(parameterizedUrl, defaultUrlVariables, providedUrlVariables)](./ibm-cloud-sdk-core.constructserviceurl.md) | Constructs a service URL by formatting a parameterized URL. |
43
- | [fileExistsAtPath(filepath)](./ibm-cloud-sdk-core.fileexistsatpath.md) | |
44
- | [getAuthenticatorFromEnvironment(serviceName)](./ibm-cloud-sdk-core.getauthenticatorfromenvironment.md) | <p>Look for external configuration of authenticator.</p><p>Try to get authenticator from external sources, with the following priority: 1. Credentials file (ibm-credentials.env) 2. Environment variables 3. VCAP Services (Cloud Foundry)</p> |
45
- | [getContentType(inputData)](./ibm-cloud-sdk-core.getcontenttype.md) | This function retrieves the content type of the input. |
46
- | [getCurrentTime()](./ibm-cloud-sdk-core.getcurrenttime.md) | Gets the current time. |
47
- | [getFormat(params, formats)](./ibm-cloud-sdk-core.getformat.md) | Returns the first match from formats that is key the params map otherwise null |
48
- | [getMissingParams(params, requires)](./ibm-cloud-sdk-core.getmissingparams.md) | Validates that all required params are provided |
49
- | [getNewLogger(moduleName)](./ibm-cloud-sdk-core.getnewlogger.md) | <p>Return a new logger, formatted with a particular name. The logging functions, in order of increasing verbosity, are: <code>error</code>, <code>warn</code>, <code>info</code>, <code>verbose</code>, and <code>debug</code>.</p><p>The logger will be an instance of the <code>debug</code> package and utilizes its support for configuration with environment variables.</p><p>Additionally, the logger will be turned on automatically if the "NODE\_DEBUG" environment variable is set to "axios".</p> |
50
- | [getQueryParam(urlStr, param)](./ibm-cloud-sdk-core.getqueryparam.md) | Return a query parameter value from a URL |
51
- | [isEmptyObject(obj)](./ibm-cloud-sdk-core.isemptyobject.md) | |
52
- | [isFileData(obj)](./ibm-cloud-sdk-core.isfiledata.md) | |
53
- | [isFileWithMetadata(obj)](./ibm-cloud-sdk-core.isfilewithmetadata.md) | |
54
- | [isHTML(text)](./ibm-cloud-sdk-core.ishtml.md) | Return true if 'text' is html |
55
- | [isJsonMimeType(mimeType)](./ibm-cloud-sdk-core.isjsonmimetype.md) | Returns true if and only if "mimeType" is a "JSON-like" mime type (e.g. "application/json; charset=utf-8"). |
56
- | [onlyOne(a, b)](./ibm-cloud-sdk-core.onlyone.md) | Checks for only one of two elements being defined. Returns true if a is defined and b is undefined, or vice versa. Returns false if both are defined or both are undefined. |
57
- | [readCredentialsFile()](./ibm-cloud-sdk-core.readcredentialsfile.md) | Return a config object based on a credentials file. Credentials files can be specified filepath via the environment variable: <code>IBM_CREDENTIALS_FILE</code>. |
58
- | [readCrTokenFile(filepath)](./ibm-cloud-sdk-core.readcrtokenfile.md) | |
59
- | [readExternalSources(serviceName)](./ibm-cloud-sdk-core.readexternalsources.md) | <p>Read properties stored in external sources like Environment Variables, the credentials file, VCAP services, etc. and return them as an object. The keys of this object will have the service name prefix removed and will be converted to lower camel case.</p><p>Only one source will be used at a time.</p> |
60
- | [removeSuffix(str, suffix)](./ibm-cloud-sdk-core.removesuffix.md) | Removes a given suffix if it exists. |
61
- | [streamToPromise(stream)](./ibm-cloud-sdk-core.streamtopromise.md) | Helper method that can be bound to a stream - it captures all of the results, and returns a promise that resolves to the final buffer or array of text chunks Essentially a smaller version of concat-stream wrapped in a promise |
62
- | [stripTrailingSlash(url)](./ibm-cloud-sdk-core.striptrailingslash.md) | Strips trailing slashes from "url", if present. |
63
- | [toLowerKeys(obj)](./ibm-cloud-sdk-core.tolowerkeys.md) | This function converts an object's keys to lower case. note: does not convert nested keys |
64
- | [validateInput(options, requiredOptions)](./ibm-cloud-sdk-core.validateinput.md) | Validates "options". |
65
- | [validateParams(params, requiredParams, allParams)](./ibm-cloud-sdk-core.validateparams.md) | Validates that "params" contains a value for each key listed in "requiredParams", and that each key contained in "params" is a valid key listed in "allParams". In essence, we want params to contain only valid keys and we want params to contain at least the required keys. |
278
+ <table><thead><tr><th>
279
+
280
+ Function
281
+
282
+
283
+ </th><th>
284
+
285
+ Description
286
+
287
+
288
+ </th></tr></thead>
289
+ <tbody><tr><td>
290
+
291
+ [atLeastOne(a, b)](./ibm-cloud-sdk-core.atleastone.md)
292
+
293
+
294
+ </td><td>
295
+
296
+ Checks for at least one of two elements being defined.
297
+
298
+
299
+ </td></tr>
300
+ <tr><td>
301
+
302
+ [atMostOne(a, b)](./ibm-cloud-sdk-core.atmostone.md)
303
+
304
+
305
+ </td><td>
306
+
307
+ Verifies that both properties are not specified.
308
+
309
+
310
+ </td></tr>
311
+ <tr><td>
312
+
313
+ [buildRequestFileObject(fileParam)](./ibm-cloud-sdk-core.buildrequestfileobject.md)
314
+
315
+
316
+ </td><td>
317
+
318
+ This function builds a `form-data` object for each file parameter.
319
+
320
+
321
+ </td></tr>
322
+ <tr><td>
323
+
324
+ [checkCredentials(obj, credsToCheck)](./ibm-cloud-sdk-core.checkcredentials.md)
325
+
326
+
327
+ </td><td>
328
+
329
+ Checks credentials for common user mistakes of copying {<!-- -->, }<!-- -->, or " characters from the documentation
330
+
331
+
332
+ </td></tr>
333
+ <tr><td>
334
+
335
+ [computeBasicAuthHeader(username, password)](./ibm-cloud-sdk-core.computebasicauthheader.md)
336
+
337
+
338
+ </td><td>
339
+
340
+ Compute and return a Basic Authorization header from a username and password.
341
+
342
+
343
+ </td></tr>
344
+ <tr><td>
345
+
346
+ [constructFilepath(filepath)](./ibm-cloud-sdk-core.constructfilepath.md)
347
+
348
+
349
+ </td><td>
350
+
351
+
352
+ </td></tr>
353
+ <tr><td>
354
+
355
+ [constructServiceUrl(parameterizedUrl, defaultUrlVariables, providedUrlVariables)](./ibm-cloud-sdk-core.constructserviceurl.md)
356
+
357
+
358
+ </td><td>
359
+
360
+ Constructs a service URL by formatting a parameterized URL.
361
+
362
+
363
+ </td></tr>
364
+ <tr><td>
365
+
366
+ [fileExistsAtPath(filepath)](./ibm-cloud-sdk-core.fileexistsatpath.md)
367
+
368
+
369
+ </td><td>
370
+
371
+
372
+ </td></tr>
373
+ <tr><td>
374
+
375
+ [getAuthenticatorFromEnvironment(serviceName)](./ibm-cloud-sdk-core.getauthenticatorfromenvironment.md)
376
+
377
+
378
+ </td><td>
379
+
380
+ Look for external configuration of authenticator.
381
+
382
+ Try to get authenticator from external sources, with the following priority: 1. Credentials file (ibm-credentials.env) 2. Environment variables 3. VCAP Services (Cloud Foundry)
383
+
384
+
385
+ </td></tr>
386
+ <tr><td>
387
+
388
+ [getContentType(inputData)](./ibm-cloud-sdk-core.getcontenttype.md)
389
+
390
+
391
+ </td><td>
392
+
393
+ This function retrieves the content type of the input.
394
+
395
+
396
+ </td></tr>
397
+ <tr><td>
398
+
399
+ [getCurrentTime()](./ibm-cloud-sdk-core.getcurrenttime.md)
400
+
401
+
402
+ </td><td>
403
+
404
+ Gets the current time.
405
+
406
+
407
+ </td></tr>
408
+ <tr><td>
409
+
410
+ [getFormat(params, formats)](./ibm-cloud-sdk-core.getformat.md)
411
+
412
+
413
+ </td><td>
414
+
415
+ Returns the first match from formats that is key the params map otherwise null
416
+
417
+
418
+ </td></tr>
419
+ <tr><td>
420
+
421
+ [getMissingParams(params, requires)](./ibm-cloud-sdk-core.getmissingparams.md)
422
+
423
+
424
+ </td><td>
425
+
426
+ Validates that all required params are provided
427
+
428
+
429
+ </td></tr>
430
+ <tr><td>
431
+
432
+ [getNewLogger(moduleName)](./ibm-cloud-sdk-core.getnewlogger.md)
433
+
434
+
435
+ </td><td>
436
+
437
+ Return a new logger, formatted with a particular name. The logging functions, in order of increasing verbosity, are: `error`<!-- -->, `warn`<!-- -->, `info`<!-- -->, `verbose`<!-- -->, and `debug`<!-- -->.
438
+
439
+ The logger will be an instance of the `debug` package and utilizes its support for configuration with environment variables.
440
+
441
+ Additionally, the logger will be turned on automatically if the "NODE\_DEBUG" environment variable is set to "axios".
442
+
443
+
444
+ </td></tr>
445
+ <tr><td>
446
+
447
+ [getQueryParam(urlStr, param)](./ibm-cloud-sdk-core.getqueryparam.md)
448
+
449
+
450
+ </td><td>
451
+
452
+ Return a query parameter value from a URL
453
+
454
+
455
+ </td></tr>
456
+ <tr><td>
457
+
458
+ [isEmptyObject(obj)](./ibm-cloud-sdk-core.isemptyobject.md)
459
+
460
+
461
+ </td><td>
462
+
463
+
464
+ </td></tr>
465
+ <tr><td>
466
+
467
+ [isFileData(obj)](./ibm-cloud-sdk-core.isfiledata.md)
468
+
469
+
470
+ </td><td>
471
+
472
+
473
+ </td></tr>
474
+ <tr><td>
475
+
476
+ [isFileWithMetadata(obj)](./ibm-cloud-sdk-core.isfilewithmetadata.md)
477
+
478
+
479
+ </td><td>
480
+
481
+
482
+ </td></tr>
483
+ <tr><td>
484
+
485
+ [isHTML(text)](./ibm-cloud-sdk-core.ishtml.md)
486
+
487
+
488
+ </td><td>
489
+
490
+ Return true if 'text' is html
491
+
492
+
493
+ </td></tr>
494
+ <tr><td>
495
+
496
+ [isJsonMimeType(mimeType)](./ibm-cloud-sdk-core.isjsonmimetype.md)
497
+
498
+
499
+ </td><td>
500
+
501
+ Returns true if and only if "mimeType" is a "JSON-like" mime type (e.g. "application/json; charset=utf-8").
502
+
503
+
504
+ </td></tr>
505
+ <tr><td>
506
+
507
+ [onlyOne(a, b)](./ibm-cloud-sdk-core.onlyone.md)
508
+
509
+
510
+ </td><td>
511
+
512
+ Checks for only one of two elements being defined. Returns true if a is defined and b is undefined, or vice versa. Returns false if both are defined or both are undefined.
513
+
514
+
515
+ </td></tr>
516
+ <tr><td>
517
+
518
+ [readCredentialsFile()](./ibm-cloud-sdk-core.readcredentialsfile.md)
519
+
520
+
521
+ </td><td>
522
+
523
+ Return a config object based on a credentials file. Credentials files can be specified filepath via the environment variable: `IBM_CREDENTIALS_FILE`<!-- -->.
524
+
525
+
526
+ </td></tr>
527
+ <tr><td>
528
+
529
+ [readCrTokenFile(filepath)](./ibm-cloud-sdk-core.readcrtokenfile.md)
530
+
531
+
532
+ </td><td>
533
+
534
+
535
+ </td></tr>
536
+ <tr><td>
537
+
538
+ [readExternalSources(serviceName)](./ibm-cloud-sdk-core.readexternalsources.md)
539
+
540
+
541
+ </td><td>
542
+
543
+ Read properties stored in external sources like Environment Variables, the credentials file, VCAP services, etc. and return them as an object. The keys of this object will have the service name prefix removed and will be converted to lower camel case.
544
+
545
+ Only one source will be used at a time.
546
+
547
+
548
+ </td></tr>
549
+ <tr><td>
550
+
551
+ [removeSuffix(str, suffix)](./ibm-cloud-sdk-core.removesuffix.md)
552
+
553
+
554
+ </td><td>
555
+
556
+ Removes a given suffix if it exists.
557
+
558
+
559
+ </td></tr>
560
+ <tr><td>
561
+
562
+ [streamToPromise(stream)](./ibm-cloud-sdk-core.streamtopromise.md)
563
+
564
+
565
+ </td><td>
566
+
567
+ Helper method that can be bound to a stream - it captures all of the results, and returns a promise that resolves to the final buffer or array of text chunks Essentially a smaller version of concat-stream wrapped in a promise
568
+
569
+
570
+ </td></tr>
571
+ <tr><td>
572
+
573
+ [stripTrailingSlash(url)](./ibm-cloud-sdk-core.striptrailingslash.md)
574
+
575
+
576
+ </td><td>
577
+
578
+ Strips trailing slashes from "url", if present.
579
+
580
+
581
+ </td></tr>
582
+ <tr><td>
583
+
584
+ [toLowerKeys(obj)](./ibm-cloud-sdk-core.tolowerkeys.md)
585
+
586
+
587
+ </td><td>
588
+
589
+ This function converts an object's keys to lower case. note: does not convert nested keys
590
+
591
+
592
+ </td></tr>
593
+ <tr><td>
594
+
595
+ [validateInput(options, requiredOptions)](./ibm-cloud-sdk-core.validateinput.md)
596
+
597
+
598
+ </td><td>
599
+
600
+ Validates "options".
601
+
602
+
603
+ </td></tr>
604
+ <tr><td>
605
+
606
+ [validateParams(params, requiredParams, allParams)](./ibm-cloud-sdk-core.validateparams.md)
607
+
608
+
609
+ </td><td>
610
+
611
+ Validates that "params" contains a value for each key listed in "requiredParams", and that each key contained in "params" is a valid key listed in "allParams". In essence, we want params to contain only valid keys and we want params to contain at least the required keys.
612
+
613
+
614
+ </td></tr>
615
+ </tbody></table>
66
616
 
67
617
  ## Interfaces
68
618
 
69
- | Interface | Description |
70
- | --- | --- |
71
- | [AuthenticatorInterface](./ibm-cloud-sdk-core.authenticatorinterface.md) | This interface defines the common methods associated with an Authenticator implementation. |
72
- | [FileObject](./ibm-cloud-sdk-core.fileobject.md) | <p>(C) Copyright IBM Corp. 2014, 2023.</p><p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at</p><p>http://www.apache.org/licenses/LICENSE-2.0</p><p>Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> |
73
- | [FileOptions](./ibm-cloud-sdk-core.fileoptions.md) | |
74
- | [FileStream](./ibm-cloud-sdk-core.filestream.md) | |
75
- | [FileWithMetadata](./ibm-cloud-sdk-core.filewithmetadata.md) | |
76
- | [IamRequestOptions](./ibm-cloud-sdk-core.iamrequestoptions.md) | Configuration options for IAM token retrieval. |
77
- | [SDKLogger](./ibm-cloud-sdk-core.sdklogger.md) | |
78
- | [UserOptions](./ibm-cloud-sdk-core.useroptions.md) | Configuration values for a service. |
619
+ <table><thead><tr><th>
620
+
621
+ Interface
622
+
623
+
624
+ </th><th>
625
+
626
+ Description
627
+
628
+
629
+ </th></tr></thead>
630
+ <tbody><tr><td>
631
+
632
+ [AuthenticatorInterface](./ibm-cloud-sdk-core.authenticatorinterface.md)
633
+
634
+
635
+ </td><td>
636
+
637
+ This interface defines the common methods associated with an Authenticator implementation.
638
+
639
+
640
+ </td></tr>
641
+ <tr><td>
642
+
643
+ [FileObject](./ibm-cloud-sdk-core.fileobject.md)
644
+
645
+
646
+ </td><td>
647
+
648
+ (C) Copyright IBM Corp. 2014, 2023.
649
+
650
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
651
+
652
+ http://www.apache.org/licenses/LICENSE-2.0
653
+
654
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
655
+
656
+
657
+ </td></tr>
658
+ <tr><td>
659
+
660
+ [FileOptions](./ibm-cloud-sdk-core.fileoptions.md)
661
+
662
+
663
+ </td><td>
664
+
665
+
666
+ </td></tr>
667
+ <tr><td>
668
+
669
+ [FileStream](./ibm-cloud-sdk-core.filestream.md)
670
+
671
+
672
+ </td><td>
673
+
674
+
675
+ </td></tr>
676
+ <tr><td>
677
+
678
+ [FileWithMetadata](./ibm-cloud-sdk-core.filewithmetadata.md)
679
+
680
+
681
+ </td><td>
682
+
683
+
684
+ </td></tr>
685
+ <tr><td>
686
+
687
+ [IamRequestOptions](./ibm-cloud-sdk-core.iamrequestoptions.md)
688
+
689
+
690
+ </td><td>
691
+
692
+ Configuration options for IAM token retrieval.
693
+
694
+
695
+ </td></tr>
696
+ <tr><td>
697
+
698
+ [SDKLogger](./ibm-cloud-sdk-core.sdklogger.md)
699
+
700
+
701
+ </td><td>
702
+
703
+
704
+ </td></tr>
705
+ <tr><td>
706
+
707
+ [UserOptions](./ibm-cloud-sdk-core.useroptions.md)
708
+
709
+
710
+ </td><td>
711
+
712
+ Configuration values for a service.
713
+
714
+
715
+ </td></tr>
716
+ </tbody></table>
79
717
 
80
718
  ## Namespaces
81
719
 
82
- | Namespace | Description |
83
- | --- | --- |
84
- | [unitTestUtils](./ibm-cloud-sdk-core.unittestutils.md) | |
720
+ <table><thead><tr><th>
721
+
722
+ Namespace
723
+
724
+
725
+ </th><th>
726
+
727
+ Description
728
+
729
+
730
+ </th></tr></thead>
731
+ <tbody><tr><td>
732
+
733
+ [unitTestUtils](./ibm-cloud-sdk-core.unittestutils.md)
734
+
735
+
736
+ </td><td>
737
+
738
+
739
+ </td></tr>
740
+ </tbody></table>
85
741
 
86
742
  ## Variables
87
743
 
88
- | Variable | Description |
89
- | --- | --- |
90
- | [contentType](./ibm-cloud-sdk-core.contenttype.md) | |
91
- | [qs](./ibm-cloud-sdk-core.qs.md) | <p>(C) Copyright IBM Corp. 2019, 2022.</p><p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at</p><p>http://www.apache.org/licenses/LICENSE-2.0</p><p>Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> |
744
+ <table><thead><tr><th>
745
+
746
+ Variable
747
+
748
+
749
+ </th><th>
750
+
751
+ Description
752
+
753
+
754
+ </th></tr></thead>
755
+ <tbody><tr><td>
756
+
757
+ [contentType](./ibm-cloud-sdk-core.contenttype.md)
758
+
759
+
760
+ </td><td>
761
+
762
+
763
+ </td></tr>
764
+ <tr><td>
765
+
766
+ [qs](./ibm-cloud-sdk-core.qs.md)
767
+
768
+
769
+ </td><td>
770
+
771
+ (C) Copyright IBM Corp. 2019, 2022.
772
+
773
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
774
+
775
+ http://www.apache.org/licenses/LICENSE-2.0
776
+
777
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
778
+
779
+
780
+ </td></tr>
781
+ </tbody></table>
92
782
 
93
783
  ## Type Aliases
94
784
 
95
- | Type Alias | Description |
96
- | --- | --- |
97
- | [JwtTokenManagerOptions](./ibm-cloud-sdk-core.jwttokenmanageroptions.md) | Configuration options for JWT token retrieval. |
98
- | [TokenManagerOptions](./ibm-cloud-sdk-core.tokenmanageroptions.md) | Configuration options for token retrieval. |
785
+ <table><thead><tr><th>
786
+
787
+ Type Alias
788
+
789
+
790
+ </th><th>
791
+
792
+ Description
793
+
794
+
795
+ </th></tr></thead>
796
+ <tbody><tr><td>
797
+
798
+ [JwtTokenManagerOptions](./ibm-cloud-sdk-core.jwttokenmanageroptions.md)
799
+
800
+
801
+ </td><td>
802
+
803
+ Configuration options for JWT token retrieval.
804
+
805
+
806
+ </td></tr>
807
+ <tr><td>
808
+
809
+ [TokenManagerOptions](./ibm-cloud-sdk-core.tokenmanageroptions.md)
810
+
811
+
812
+ </td><td>
813
+
814
+ Configuration options for token retrieval.
815
+
99
816
 
817
+ </td></tr>
818
+ </tbody></table>