code: public Connection<S> createConnection(AccessGrant accessGrant) {
  		return new OAuth2Connection<S>(getProviderId(), extractProviderUserId(accessGrant), accessGrant.getAccessToken(),
  				accessGrant.getRefreshToken(), accessGrant.getExpireTime(), getOAuth2ServiceProvider(), getApiAdapter());		
  	}
docs: Create a OAuth2-based {@link Connection} from the {@link AccessGrant} returned after {@link #getOAuthOperations() completing the OAuth2 flow}.
  @param accessGrant the access grant
  @return the new service provider connection
  @see OAuth2Operations#exchangeForAccess(String, String, org.springframework.util.MultiValueMap)