gitlab4j-api
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
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