src/main/java/org/jinstagram/auth/InstagramAuthService.java
public InstagramService build() {
		InstagramApi api = new InstagramApi();
		OAuthConfig config;

		Preconditions.checkEmptyString(apiKey, "You must provide an api key");
		Preconditions.checkEmptyString(apiSecret, "You must provide an api secret");

		config = new OAuthConfig(apiKey, apiSecret, callback, scope, display);

		if (this.requestProxy != null) {
			config.setRequestProxy(this.requestProxy);
		}

		return api.createService(config);
	}
public InstagramService build() {
		InstagramApi api = new InstagramApi();
		OAuthConfig config;

		Preconditions.checkEmptyString(apiKey, "You must provide an api key");
		Preconditions.checkEmptyString(apiSecret, "You must provide an api secret");

		config = new OAuthConfig(apiKey, apiSecret, callback, scope, display);

		if (this.requestProxy != null) {
			config.setRequestProxy(this.requestProxy);
		}

		return api.createService(config);
	}
public InstagramService build ( ) { InstagramApi api = new InstagramApi ( ) ; OAuthConfig config ; Preconditions . checkEmptyString ( apiKey , "You must provide an api key" ) ; Preconditions . checkEmptyString ( apiSecret , "You must provide an api secret" ) ; config = new OAuthConfig ( apiKey , apiSecret , callback , scope , display ) ; if ( this . requestProxy != null ) { config . setRequestProxy ( this . requestProxy ) ; } return api . createService ( config ) ; }
Returns the fully configured {@link OAuthService}

@return fully configured {@link OAuthService}
Returns the fully configured { @link OAuthService }