How to reissue the session token if timeout

As the topic, we wish to use the session token to authenticate user but we can not find a way to re-issue the token after its expired.

I guess this can help (updating a user)

There’s an attribute: issue_access_token (boolean)

Determines whether to revoke the existing access token and create a new one for the user. If true , an opaque string token is issued and provided upon creation, which should be passed whenever the user logs in. If false , an access token is not required when the user logs in. (Default: false )