The interface that is used to perform the OAuth 2.0 authorization for different Git repository hosting services (GitHub, Bitbucket, etc.).
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
authorize()Shows a browser with the appropriate authorization web page. |
|
java.lang.String |
getAccessToken()It can be used to get the access token once the authorization process is completed. |
|
java.util.Calendar |
getAccessTokenExpirationTime()The time when access token is expired. |
|
java.lang.String |
getRefreshToken()It can be used to get the refresh token once the authorization process is completed. |
Shows a browser with the appropriate authorization web page.
It can be used to get the access token once the authorization process is completed.
The time when access token is expired. The absolute time: access token request start time + returned expires_in period
It can be used to get the refresh token once the authorization process is completed.