| Constructor and Description |
|---|
UsernamePasswordLogin(URL youtrackUrl,
String username,
char[] password)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
login()
Performs the login function and returns a
Session with sufficient
state to allow further transactions with YouTrack. |
public UsernamePasswordLogin(URL youtrackUrl, String username, char[] password)
youtrackUrl - the URL of the YouTrack API endpointusername - the principalpassword - the credentialsUsernamePasswordLogin(URL, String, char[], HttpClient)public Session login() throws AuthenticationException, IOException
LoginSession with sufficient
state to allow further transactions with YouTrack.login in interface LoginAuthenticationException - if the login process fails due to invalid
credentialsIOException - if the YouTrack endpoint is unreachableCopyright © 2017–2018 George Aristy. All rights reserved.