<!-- 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; [requestToken](./ibm-cloud-sdk-core.tokenmanager.requesttoken.md)

## TokenManager.requestToken() method

Request a token using an API endpoint.

**Signature:**

```typescript
protected requestToken(): Promise<any>;
```
**Returns:**

Promise&lt;any&gt;

Promise

