<!-- 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; [saveTokenInfo](./ibm-cloud-sdk-core.tokenmanager.savetokeninfo.md)

## TokenManager.saveTokenInfo() method

Parse and save token information from the response. Save the requested token into field `accessToken`<!-- -->. Calculate expiration and refresh time from the received info and store them in fields `expireTime` and `refreshTime`<!-- -->.

**Signature:**

```typescript
protected saveTokenInfo(tokenResponse: any): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

tokenResponse


</td><td>

any


</td><td>

the response object from a token service request


</td></tr>
</tbody></table>
**Returns:**

void

