Uses of Class
org.wikidata.wdtk.wikibaseapi.LoginFailedException
Packages that use LoginFailedException
Package
Description
Package for examples of bots that edit Wikidata.
Components for accessing the Web API of a Wikibase website, such as wikidata.org.
-
Uses of LoginFailedException in org.wikidata.wdtk.examples.bots
Methods in org.wikidata.wdtk.examples.bots that throw LoginFailedExceptionModifier and TypeMethodDescriptionstatic voidMain method to run the bot.static voidMain method to run the bot.Constructors in org.wikidata.wdtk.examples.bots that throw LoginFailedExceptionModifierConstructorDescriptionConstructor.Constructor. -
Uses of LoginFailedException in org.wikidata.wdtk.wikibaseapi
Subclasses of LoginFailedException in org.wikidata.wdtk.wikibaseapiModifier and TypeClassDescriptionclassThis exception could be caused by a login action if there are problems with the login token or the session id.Methods in org.wikidata.wdtk.wikibaseapi that throw LoginFailedExceptionModifier and TypeMethodDescriptionvoidBasicApiConnection.clientLogin(String username, String password) Logs in using the main user credentials.protected voidBasicApiConnection.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 voidBasicApiConnection.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.voidLogs in using the specified user credentials.protected voidBasicApiConnection.login(String username, String password, org.wikidata.wdtk.wikibaseapi.BasicApiConnection.ILogin loginFunction) Login function that contains token logic and a function as parameter