OAuth.getTokens

Returns an OAuthTokens object containing the access token and the refresh token required with OAuth authentication. OAuthTokens can be populated using the appropriate set methods or the #authorize(String) method automatically populates this object.

returns OAuthTokens

Parameters

java.lang.String  name,