public final HashMap < String , String > setTokenWithSecret ( String aToken , String aSecret ) { HashMap < String , String > token = new HashMap < String , String > ( ) ; accessToken = aToken ; accessSecret = aSecret ; mOAuthConsumer . setTokenWithSecret ( accessToken , accessSecret ) ; token . put ( "token" , accessToken ) ; token . put ( "secret" , accessSecret ) ; return token ; }
Setup access token and secret for OAuth client