2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.auth;
|
|
|
|
|
2022-02-15 08:01:19 +00:00
|
|
|
import com.discord.utilities.captcha.CaptchaHelper;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.widgets.auth.WidgetOauth2AuthorizeSamsung;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
|
|
|
import d0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetOauth2AuthorizeSamsung.kt */
|
2022-02-15 08:01:19 +00:00
|
|
|
public final class WidgetOauth2AuthorizeSamsung$captchaLauncher$1 extends o implements Function1<CaptchaHelper.CaptchaPayload, Unit> {
|
2021-08-03 07:33:18 +00:00
|
|
|
public final /* synthetic */ WidgetOauth2AuthorizeSamsung this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetOauth2AuthorizeSamsung$captchaLauncher$1(WidgetOauth2AuthorizeSamsung widgetOauth2AuthorizeSamsung) {
|
|
|
|
super(1);
|
|
|
|
this.this$0 = widgetOauth2AuthorizeSamsung;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
2022-02-15 08:01:19 +00:00
|
|
|
public /* bridge */ /* synthetic */ Unit invoke(CaptchaHelper.CaptchaPayload captchaPayload) {
|
|
|
|
invoke(captchaPayload);
|
2021-08-03 07:33:18 +00:00
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
2022-02-15 08:01:19 +00:00
|
|
|
public final void invoke(CaptchaHelper.CaptchaPayload captchaPayload) {
|
|
|
|
m.checkNotNullParameter(captchaPayload, "captchaPayload");
|
2021-08-03 07:33:18 +00:00
|
|
|
String access$getSamsungAuthCode$p = WidgetOauth2AuthorizeSamsung.access$getSamsungAuthCode$p(this.this$0);
|
|
|
|
if (access$getSamsungAuthCode$p != null) {
|
2022-02-15 08:01:19 +00:00
|
|
|
WidgetOauth2AuthorizeSamsung.access$authorizeForSamsung(this.this$0, access$getSamsungAuthCode$p, captchaPayload);
|
2021-08-03 07:33:18 +00:00
|
|
|
} else {
|
|
|
|
WidgetOauth2AuthorizeSamsung.Companion.logW$default(WidgetOauth2AuthorizeSamsung.Companion, "auth code not set", null, 2, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|