LINE.apk(点击下载) / LineAuthenticationConfig.java
package com.linecorp.linesdk.auth;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import b.d;
import q3.g0;
import tt.i1;
import v62.e;
public class LineAuthenticationConfig implements Parcelable {
public static final Parcelable.Creator<LineAuthenticationConfig> CREATOR = new a();
/* renamed from: b reason: collision with root package name */
public final String f49453b;
/* renamed from: c reason: collision with root package name */
public final Uri f49454c;
/* renamed from: d reason: collision with root package name */
public final Uri f49455d;
/* renamed from: e reason: collision with root package name */
public final Uri f49456e;
/* renamed from: f reason: collision with root package name */
public final boolean f49457f;
/* renamed from: g reason: collision with root package name */
public final boolean f49458g;
public class a implements Parcelable.Creator<LineAuthenticationConfig> {
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // android.os.Parcelable.Creator
public LineAuthenticationConfig createFromParcel(Parcel parcel) {
return new LineAuthenticationConfig(parcel, (a) null);
}
/* Return type fixed from 'java.lang.Object[]' to match base method */
@Override // android.os.Parcelable.Creator
public LineAuthenticationConfig[] newArray(int i14) {
return new LineAuthenticationConfig[i14];
}
}
public static class b {
/* renamed from: a reason: collision with root package name */
public final String f49459a;
/* renamed from: b reason: collision with root package name */
public Uri f49460b;
/* renamed from: c reason: collision with root package name */
public Uri f49461c;
/* renamed from: d reason: collision with root package name */
public Uri f49462d;
/* renamed from: e reason: collision with root package name */
public boolean f49463e;
public b(String str) {
if (!TextUtils.isEmpty(str)) {
this.f49459a = str;
this.f49460b = Uri.parse(e.b());
this.f49461c = Uri.parse(e.a());
this.f49462d = Uri.parse(e.f170368a == 1 ? "https://access.line-beta.me/oauth2/v2.1/login" : "https://access.line.me/oauth2/v2.1/login");
return;
}
throw new IllegalArgumentException("channelId is empty.");
}
}
public LineAuthenticationConfig(b bVar, a aVar) {
this.f49453b = bVar.f49459a;
this.f49454c = bVar.f49460b;
this.f49455d = bVar.f49461c;
this.f49456e = bVar.f49462d;
this.f49457f = bVar.f49463e;
this.f49458g = false;
}
public int describeContents() {
return 0;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
LineAuthenticationConfig lineAuthenticationConfig = (LineAuthenticationConfig) obj;
if (this.f49457f == lineAuthenticationConfig.f49457f && this.f49458g == lineAuthenticationConfig.f49458g && this.f49453b.equals(lineAuthenticationConfig.f49453b) && this.f49454c.equals(lineAuthenticationConfig.f49454c) && this.f49455d.equals(lineAuthenticationConfig.f49455d)) {
return this.f49456e.equals(lineAuthenticationConfig.f49456e);
}
return false;
}
public int hashCode() {
int hashCode = this.f49454c.hashCode();
int hashCode2 = this.f49455d.hashCode();
return ((((this.f49456e.hashCode() + ((hashCode2 + ((hashCode + (this.f49453b.hashCode() * 31)) * 31)) * 31)) * 31) + (this.f49457f ? 1 : 0)) * 31) + (this.f49458g ? 1 : 0);
}
public String toString() {
StringBuilder a14 = d.a("LineAuthenticationConfig{channelId='");
i1.a(a14, this.f49453b, '\'', ", openidDiscoveryDocumentUrl=");
a14.append(this.f49454c);
a14.append(", apiBaseUrl=");
a14.append(this.f49455d);
a14.append(", webLoginPageUrl=");
a14.append(this.f49456e);
a14.append(", isLineAppAuthenticationDisabled=");
a14.append(this.f49457f);
a14.append(", isEncryptorPreparationDisabled=");
return g0.a(a14, this.f49458g, '}');
}
public void writeToParcel(Parcel parcel, int i14) {
parcel.writeString(this.f49453b);
parcel.writeParcelable(this.f49454c, i14);
parcel.writeParcelable(this.f49455d, i14);
parcel.writeParcelable(this.f49456e, i14);
int i15 = 0;
int i16 = (this.f49457f ? 1 : 0) | 0;
if (this.f49458g) {
i15 = 2;
}
parcel.writeInt(i16 | i15);
}
public LineAuthenticationConfig(Parcel parcel, a aVar) {
this.f49453b = parcel.readString();
this.f49454c = (Uri) parcel.readParcelable(Uri.class.getClassLoader());
this.f49455d = (Uri) parcel.readParcelable(Uri.class.getClassLoader());
this.f49456e = (Uri) parcel.readParcelable(Uri.class.getClassLoader());
int readInt = parcel.readInt();
boolean z14 = true;
this.f49457f = (readInt & 1) > 0;
this.f49458g = (readInt & 2) <= 0 ? false : z14;
}
}