UNPKG

ibm-cloud-sdk-core

Version:

Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.

55 lines (26 loc) 1.21 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [McspTokenManager](./ibm-cloud-sdk-core.mcsptokenmanager.md) &gt; [(constructor)](./ibm-cloud-sdk-core.mcsptokenmanager._constructor_.md) ## McspTokenManager.(constructor) Create a new McspTokenManager instance. **Signature:** ```typescript constructor(options: Options); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> options </td><td> Options </td><td> Configuration options This should be an object containing these fields: - url: (required) the base endpoint URL for the MCSP token service - apikey: (required) the API key used to obtain the MCSP access token. - disableSslVerification: (optional) a flag that indicates whether verification of the token server's SSL certificate should be disabled or not - headers: (optional) a set of HTTP headers to be sent with each request to the token service </td></tr> </tbody></table> ## Exceptions Error: the configuration options were invalid.