gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

After successful login, how to obtain the current session time and log in again or refresh the token when it is about to expire

Open JonSmall opened this issue 2 years ago • 0 comments

After successful login, how to obtain the current session time and log in again or refresh the token when it is about to expire

GitLabApi.oauth2Login("URL", username, password); // do business .... // 2 hours later how to refresh token

JonSmall avatar Jun 02 '23 07:06 JonSmall