AutorÃa | Ultima modificación | Ver Log |
package com.cesams.twogetskills.sync;import android.accounts.AbstractAccountAuthenticator;import android.accounts.Account;import android.accounts.AccountAuthenticatorResponse;import android.accounts.NetworkErrorException;import android.content.Context;import android.os.Bundle;public class Authenticator extends AbstractAccountAuthenticator {public Authenticator(Context context) {super(context);}@Overridepublic Bundle editProperties(AccountAuthenticatorResponse r, String s) {throw new UnsupportedOperationException();}@Overridepublic Bundle addAccount(AccountAuthenticatorResponse r,String s,String s2,String[] strings,Bundle bundle) throws NetworkErrorException {return null;}@Overridepublic Bundle confirmCredentials(AccountAuthenticatorResponse r,Account account,Bundle bundle) throws NetworkErrorException {return null;}@Overridepublic Bundle getAuthToken(AccountAuthenticatorResponse r,Account account,String s,Bundle bundle) throws NetworkErrorException {throw new UnsupportedOperationException();}@Overridepublic String getAuthTokenLabel(String s) {throw new UnsupportedOperationException();}@Overridepublic Bundle updateCredentials(AccountAuthenticatorResponse r,Account account,String s, Bundle bundle) throws NetworkErrorException {throw new UnsupportedOperationException();}@Overridepublic Bundle hasFeatures(AccountAuthenticatorResponse r,Account account, String[] strings) throws NetworkErrorException {throw new UnsupportedOperationException();}}