// Path: app/src/main/java/info/izumin/android/sunazuri/infrastructure/entity/OauthParams.java
// public class OauthParams {
//     public static final String TAG = OauthParams.class.getSimpleName();
// 
//     public final String endpoint;
//     public final String clientId;
//     public final String clientSecret;
//     public final String redirectUri;
//     public final String scope;
//     public final String responseType;
//     public final String authorizePath;
//     public final String grantType;
// 
//     public OauthParams(String endpoint, String clientId, String clientSecret, String redirectUri, String scope, String responseType, String authorizePath, String grantType) {
//         this.endpoint = endpoint;
//         this.clientId = clientId;
//         this.clientSecret = clientSecret;
//         this.redirectUri = redirectUri;
//         this.scope = scope;
//         this.responseType = responseType;
//         this.authorizePath = authorizePath;
//         this.grantType = grantType;
//     }
// 
//     public String getAuthorizeUri() {
//         return endpoint + authorizePath
//                 + "?client_id="     + clientId
//                 + "&redirect_uri="  + redirectUri
//                 + "&scope="         + scope
//                 + "&response_type=" + responseType;
//     }
// }


import com.github.gfx.static_gson.StaticGsonTypeAdapterFactory;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import dagger.Module;
import dagger.Provides;
import info.izumin.android.sunazuri.infrastructure.entity.OauthParams;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import javax.inject.Singleton;
import java.util.List;
package info.izumin.android.sunazuri.infrastructure.api;



/**
 * Created by izumin on 5/13/2016 AD.
 */
@Module
public class ApiModule {
    public static final String TAG = ApiModule.class.getSimpleName();

    private final String apiEndpoint;
// Path: app/src/main/java/info/izumin/android/sunazuri/infrastructure/entity/OauthParams.java
// public class OauthParams {
//     public static final String TAG = OauthParams.class.getSimpleName();
// 
//     public final String endpoint;
//     public final String clientId;
//     public final String clientSecret;
//     public final String redirectUri;
//     public final String scope;
//     public final String responseType;
//     public final String authorizePath;
//     public final String grantType;
// 
//     public OauthParams(String endpoint, String clientId, String clientSecret, String redirectUri, String scope, String responseType, String authorizePath, String grantType) {
//         this.endpoint = endpoint;
//         this.clientId = clientId;
//         this.clientSecret = clientSecret;
//         this.redirectUri = redirectUri;
//         this.scope = scope;
//         this.responseType = responseType;
//         this.authorizePath = authorizePath;
//         this.grantType = grantType;
//     }
// 
//     public String getAuthorizeUri() {
//         return endpoint + authorizePath
//                 + "?client_id="     + clientId
//                 + "&redirect_uri="  + redirectUri
//                 + "&scope="         + scope
//                 + "&response_type=" + responseType;
//     }
// }


// Path: app/src/main/java/info/izumin/android/sunazuri/infrastructure/api/ApiModule.java
import com.github.gfx.static_gson.StaticGsonTypeAdapterFactory;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import dagger.Module;
import dagger.Provides;
import info.izumin.android.sunazuri.infrastructure.entity.OauthParams;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import javax.inject.Singleton;
import java.util.List;

package info.izumin.android.sunazuri.infrastructure.api;



/**
 * Created by izumin on 5/13/2016 AD.
 */
@Module
public class ApiModule {
    public static final String TAG = ApiModule.class.getSimpleName();

    private final String apiEndpoint;
    private final OauthParams oauthParams;