ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
91 lines (42 loc) • 1.78 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [IamRequestBasedAuthenticator](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.md)
## IamRequestBasedAuthenticator class
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.
**Signature:**
```typescript
export declare class IamRequestBasedAuthenticator extends IamRequestBasedAuthenticatorImmutable
```
**Extends:** IamRequestBasedAuthenticatorImmutable
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[setClientIdAndSecret(clientId, clientSecret)](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.setclientidandsecret.md)
</td><td>
</td><td>
Setter for the mutually inclusive "clientId" and the "clientSecret" fields.
</td></tr>
<tr><td>
[setDisableSslVerification(value)](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.setdisablesslverification.md)
</td><td>
</td><td>
Set the flag that indicates whether verification of the server's SSL certificate should be disabled or not.
</td></tr>
<tr><td>
[setHeaders(headers)](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.setheaders.md)
</td><td>
</td><td>
Set headers.
</td></tr>
<tr><td>
[setScope(scope)](./ibm-cloud-sdk-core.iamrequestbasedauthenticator.setscope.md)
</td><td>
</td><td>
Setter for the "scope" parameter to use when fetching the bearer token from the IAM token server.
</td></tr>
</tbody></table>