Jira rest api service about session problem

hi ,i develop a service integrate jira.
i use sdk to talk about jira.
eg:
AsynchronousJiraRestClientFactory…(url,username,password).

so i have a question about developer, jira session will automatically renew ,when last call server?
this will determines whether to call the login method multiple times.

Best regards!