Rev 2077 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.services.rest.async;import org.tela_botanica.del.client.modeles.AuthInfo;import org.tela_botanica.del.client.utils.UtilitairesServiceResultat;import com.google.gwt.json.client.JSONParser;import com.google.gwt.user.client.Window;/*** Retour des services annuaire:auth : connexion, deconnexion, identite - un jeton* JWT si identifié, false sinon*/public abstract class AuthCallback extends PHPCallback<AuthInfo> {@Overridepublic AuthInfo parserJSON(String retourService) {AuthInfo authInfo = UtilitairesServiceResultat.parserAuthJson(JSONParser.parseStrict(retourService));return authInfo;}}