| Package | Description |
|---|---|
| org.wikidata.wdtk.wikibaseapi |
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NeedLoginTokenException
This exception could be caused by a login action if there are problems with
the login token or the session id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicApiConnection.clientLogin(String username,
String password)
Logs in using the main user credentials.
|
protected void |
BasicApiConnection.confirmClientLogin(String token,
String username,
String password)
Issues a Web API query to confirm that the previous client login attempt was
successful, and sets the internal state of the API connection accordingly
in this case.
|
protected void |
BasicApiConnection.confirmLogin(String token,
String username,
String password)
Issues a Web API query to confirm that the previous login attempt was
successful, and sets the internal state of the API connection accordingly
in this case.
|
void |
BasicApiConnection.login(String username,
String password)
Logs in using the specified user credentials.
|
protected void |
BasicApiConnection.login(String username,
String password,
org.wikidata.wdtk.wikibaseapi.BasicApiConnection.ILogin loginFunction)
Login function that contains token logic and a function as parameter
|
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage