@Override
 protected void setTempTokens(String tokenPublic, String tokenSecret) {
   Settings.setTokens(
       authParams.getTempTokenPublicPrefKey(),
       tokenPublic,
       authParams.getTempTokenSecretPrefKey(),
       tokenSecret);
 }
 public OCAuthorizationActivity(IOCAuthParams authParams) {
   super(
       authParams.getSite(),
       "/okapi/services/oauth/request_token",
       "/okapi/services/oauth/authorize",
       "/okapi/services/oauth/access_token",
       false,
       cgeoapplication.getInstance().getResources().getString(authParams.getCKResId()),
       cgeoapplication.getInstance().getResources().getString(authParams.getCSResId()));
   this.authParams = authParams;
 }
 @Override
 protected void setTokens(String tokenPublic, String tokenSecret, boolean enable) {
   Settings.setTokens(
       authParams.getTokenPublicPrefKey(),
       tokenPublic,
       authParams.getTokenSecretPrefKey(),
       tokenSecret);
   if (tokenPublic != null) {
     Settings.setTokens(
         authParams.getTempTokenPublicPrefKey(),
         null,
         authParams.getTempTokenSecretPrefKey(),
         null);
   }
 }
 @Override
 protected String getAuthTitle() {
   return res.getString(authParams.getAuthTitelResId());
 }
 @Override
 protected ImmutablePair<String, String> getTempTokens() {
   return Settings.getTokenPair(
       authParams.getTempTokenPublicPrefKey(), authParams.getTempTokenSecretPrefKey());
 }