Java tutorial
//package com.java2s; import android.accounts.AccountManager; import android.content.Context; public class Main { public static final String ACCOUNT_TYPE = "com.galaxy"; public static void invalidateAuthToken(Context context, String s) { AccountManager.get(context).invalidateAuthToken(ACCOUNT_TYPE, s); } }