UNPKG

ibm-cloud-sdk-core

Version:

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

50 lines (24 loc) 1.11 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; [TokenManager](./ibm-cloud-sdk-core.tokenmanager.md) &gt; [(constructor)](./ibm-cloud-sdk-core.tokenmanager._constructor_.md) ## TokenManager.(constructor) Create a new TokenManager instance. **Signature:** ```typescript constructor(options: TokenManagerOptions); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> options </td><td> [TokenManagerOptions](./ibm-cloud-sdk-core.tokenmanageroptions.md) </td><td> Configuration options. This should be an object containing these fields: - url: (optional) the endpoint URL for the token service - 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>