41 lines
1.3 KiB
Java
41 lines
1.3 KiB
Java
package o;
|
|
|
|
import com.scb.phone.data.network.service.PartnerService;
|
|
import retrofit2.Response;
|
|
|
|
/* renamed from: o.vaV, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C17291vaV implements InterfaceC17776zey {
|
|
private final PartnerService d;
|
|
|
|
@InterfaceC13391fZD
|
|
public C17291vaV(PartnerService partnerService) {
|
|
this.d = partnerService;
|
|
}
|
|
|
|
@Override // o.InterfaceC17776zey
|
|
public final AbstractC13163fSk<String> e(C4433ba c4433ba) {
|
|
return this.d.login(c4433ba).flatMap(new fSS() { // from class: o.RWS
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
Response response = (Response) obj;
|
|
String str = response.headers().get("Api-Auth");
|
|
if (str == null) {
|
|
DiG.a((C16562pOe) response.body());
|
|
}
|
|
return AbstractC13163fSk.just(str);
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // o.InterfaceC17776zey
|
|
public final AbstractC13163fSk<String> b(String str, C4433ba c4433ba) {
|
|
return this.d.loginFingerprint(str, c4433ba).map(new fSS() { // from class: o.RUV
|
|
@Override // o.fSS
|
|
public final Object a(Object obj) {
|
|
return ((Response) obj).headers().get("Api-Auth");
|
|
}
|
|
});
|
|
}
|
|
}
|