diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2014-09-09 07:44:01 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2014-09-09 07:44:01 -0700 |
commit | c2feb363e513c0dea83d507eb9ba1918748d4e8e (patch) | |
tree | 8ba314d14f86aff178adac5ba46ca35e037c6569 /src/com/p4square/restlet/oauth | |
parent | 66469ff2f76ac916e289e066377570b38554fdcc (diff) |
Moving F1OAuthHelper to F1Access.
F1Access will provide a collection of F1 API methods, rather than
placing all of those methods in F1User as I was originally planning.
Diffstat (limited to 'src/com/p4square/restlet/oauth')
-rw-r--r-- | src/com/p4square/restlet/oauth/OAuthHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/p4square/restlet/oauth/OAuthHelper.java b/src/com/p4square/restlet/oauth/OAuthHelper.java index 39c1b02..67dd238 100644 --- a/src/com/p4square/restlet/oauth/OAuthHelper.java +++ b/src/com/p4square/restlet/oauth/OAuthHelper.java @@ -127,7 +127,7 @@ public abstract class OAuthHelper { * @return An OAuthUser object wrapping the AccessToken. * @throws OAuthException if the request failed. */ - protected OAuthUser processAccessTokenRequest(Request request) throws OAuthException { + public OAuthUser processAccessTokenRequest(Request request) throws OAuthException { Response response = getResponse(request); Token accessToken = processTokenRequest(response); @@ -143,7 +143,7 @@ public abstract class OAuthHelper { /** * Helper method to get a Response for a Request. */ - protected Response getResponse(Request request) { + public Response getResponse(Request request) { return mDispatcher.handle(request); } } |