bad.robot.http.apache
Class OAuthAccessToken

java.lang.Object
  extended by bad.robot.http.apache.OAuthAccessToken
All Implemented Interfaces:
org.apache.http.auth.Credentials

public class OAuthAccessToken
extends Object
implements org.apache.http.auth.Credentials


Constructor Summary
OAuthAccessToken(String token)
           
 
Method Summary
 String getPassword()
           
 Principal getUserPrincipal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthAccessToken

public OAuthAccessToken(String token)
Method Detail

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.