summaryrefslogtreecommitdiff
path: root/src/com/p4square/f1oauth/SecondPartyVerifier.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/p4square/f1oauth/SecondPartyVerifier.java')
-rw-r--r--src/com/p4square/f1oauth/SecondPartyVerifier.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/p4square/f1oauth/SecondPartyVerifier.java b/src/com/p4square/f1oauth/SecondPartyVerifier.java
index 9fb771f..e2d6d00 100644
--- a/src/com/p4square/f1oauth/SecondPartyVerifier.java
+++ b/src/com/p4square/f1oauth/SecondPartyVerifier.java
@@ -30,9 +30,9 @@ public class SecondPartyVerifier implements Verifier {
private static final Logger LOG = Logger.getLogger(SecondPartyVerifier.class);
private final Restlet mDispatcher;
- private final F1OAuthHelper mHelper;
+ private final F1Access mHelper;
- public SecondPartyVerifier(Context context, F1OAuthHelper helper) {
+ public SecondPartyVerifier(Context context, F1Access helper) {
if (helper == null) {
throw new IllegalArgumentException("Helper can not be null.");
}
@@ -79,7 +79,7 @@ public class SecondPartyVerifier implements Verifier {
if (status.isSuccess()) {
JacksonRepresentation<Map> entity = new JacksonRepresentation<Map>(response.getEntity(), Map.class);
Map data = entity.getObject();
- return new F1User(mHelper.getBaseUrl(), user, data);
+ return new F1User(user, data);
} else {
throw new OAuthException(status);