title: Android: How to get Refresh Token by Google Sign-In API?
body: <p>Currently, I am working on the application where user able to login with Google. As part of the login process, we need to send Google ACCESS TOKEN and REFRESH TOKEN to server end.</p>
  
  <p>I am retrieving access token by the following method, </p>
  
  <pre><code>        mAccountName = googleSignInAccount.getEmail();
          String scopes = "oauth2:profile email";
          String token = null;
          try {
              token = GoogleAuthUtil.getToken(activity.getApplicationContext(), mAccountName, scopes);
          } catch (IOException e) {
              Logger.eLog(TAG, e.getMessage());
          }
  </code></pre>
  
  <p>GoogleAuthUtil class from which I am accessing access token don't have a function for refresh token. So how to access Refresh Token? Thanks in advance!</p>