You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 4, 2020. It is now read-only.
iAmGio edited this page Aug 15, 2018
·
3 revisions
Per effettuare il log-in con un utente all'interno dell'API, si userà User#login(String) e la classe Login.
Il primo metodo prenderà in parametro la password dell'utente come Stringa. Una volta chiamato, il metodo ritornerà un'istanza di Login.
In questa classe possiamo trovare i seguenti metodi:
booleanisInvalid()
che ritornerà true se la password sarà errata;
booleanhas2FA()
che ritornerà true se è necessario un codice di autenticazione;