public class SessionApi extends AbstractApi
Constructor and Description |
---|
SessionApi(GitLabApi gitLabApi) |
Modifier and Type | Method and Description |
---|---|
Session |
login(String username,
String email,
String password)
Login to get private token.
|
addFormParam, addFormParam, delete, delete, get, get, getApiClient, handle, post, post, post, put, put, validate
public SessionApi(GitLabApi gitLabApi)
public Session login(String username, String email, String password) throws GitLabApiException
username
- the username to loginemail
- the email address to loginpassword
- the password of the userGitLabApiException
- if any exception occursCopyright © 2017. All rights reserved.