edu.uiuc.ncsa.security.delegation.storage.impl.BasicTransactionKeys Maven / Gradle / Ivy
package edu.uiuc.ncsa.security.delegation.storage.impl;
import edu.uiuc.ncsa.security.storage.data.SerializationKeys;
/**
* Created by Jeff Gaynor
* on 4/25/12 at 3:10 PM
*/
public class BasicTransactionKeys extends SerializationKeys {
public BasicTransactionKeys() {
identifier("temp_token");
}
String tempCred = "temp_token";
String accessToken = "access_token";
String verifier = "oauth_verifier";
public String tempCred(String... x) {
if (0 < x.length) tempCred = x[0];
return tempCred;
}
public String accessToken(String... x) {
if (0 < x.length) accessToken = x[0];
return accessToken;
}
public String verifier(String... x) {
if (0 < x.length) verifier = x[0];
return verifier;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy