code: void store(Credential credential) {
      accessToken = credential.getAccessToken();
      refreshToken = credential.getRefreshToken();
      expirationTimeMillis = credential.getExpirationTimeMilliseconds();
      if (credential instanceof OAuthHmacCredential) {
          OAuthHmacCredential oauth10aCredential = (OAuthHmacCredential) credential;
          tokenSharedSecret = oauth10aCredential.getTokenSharedSecret();
          consumerKey = oauth10aCredential.getConsumerKey();
          sharedSecret = oauth10aCredential.getSharedSecret();
      }
    }
docs: Store information from the credential.
  
  @param credential credential whose {@link Credential#getAccessToken access token},
  {@link Credential#getRefreshToken refresh token}, and
  {@link Credential#getExpirationTimeMilliseconds expiration time} need to be stored