bad.robot.http.apache
Class OAuthAccessToken
java.lang.Object
bad.robot.http.apache.OAuthAccessToken
- All Implemented Interfaces:
- org.apache.http.auth.Credentials
public class OAuthAccessToken
- extends Object
- implements org.apache.http.auth.Credentials
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthAccessToken
public OAuthAccessToken(String token)
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface org.apache.http.auth.Credentials
getPassword
public String getPassword()
- Specified by:
getPassword
in interface org.apache.http.auth.Credentials
Copyright © 2012. All Rights Reserved.