com.googlecode.googleplus
Class GooglePlusFactory.DefaultOAuth2RefreshCallback

java.lang.Object
  extended by com.googlecode.googleplus.GooglePlusFactory.DefaultOAuth2RefreshCallback
All Implemented Interfaces:
OAuth2RefreshCallback
Enclosing class:
GooglePlusFactory

public final class GooglePlusFactory.DefaultOAuth2RefreshCallback
extends Object
implements OAuth2RefreshCallback


Constructor Summary
GooglePlusFactory.DefaultOAuth2RefreshCallback(String accessToken, String refreshToken, OAuth2RefreshListener listener)
           
 
Method Summary
 String refreshToken()
          Attempts to refresh the token
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GooglePlusFactory.DefaultOAuth2RefreshCallback

public GooglePlusFactory.DefaultOAuth2RefreshCallback(String accessToken,
                                                      String refreshToken,
                                                      OAuth2RefreshListener listener)
Method Detail

refreshToken

public String refreshToken()
Description copied from interface: OAuth2RefreshCallback
Attempts to refresh the token

Specified by:
refreshToken in interface OAuth2RefreshCallback
Returns:
the new access token


Copyright © 2014. All Rights Reserved.