类 KuaiShou
- java.lang.Object
-
- cn.authing.guard.handler.BaseHandler
-
- cn.authing.guard.social.handler.SocialAuthenticator
-
- cn.authing.guard.social.handler.KuaiShou
-
- 所有已实现的接口:
com.kwai.auth.ILoginListener
public class KuaiShou extends SocialAuthenticator implements com.kwai.auth.ILoginListener
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static KuaiShougetInstance()StringgetState()voidlogin(Context context, AuthCallback<UserInfo> callback)protected voidoidcLogin(String authCode, AuthCallback<UserInfo> callback)voidonCancel()voidonFailed(String s, int i, String s1)voidonSuccess(com.kwai.auth.common.InternalResponse internalResponse)voidsetState(String state)protected voidstandardLogin(String authCode, AuthCallback<UserInfo> callback)-
从类继承的方法 cn.authing.guard.social.handler.SocialAuthenticator
login, onDetachedFromWindow
-
从类继承的方法 cn.authing.guard.handler.BaseHandler
getAuthProtocol
-
-
-
-
方法详细资料
-
getInstance
public static KuaiShou getInstance()
-
login
public void login(Context context, @NotNull AuthCallback<UserInfo> callback)
- 指定者:
login在类中SocialAuthenticator
-
onSuccess
public void onSuccess(@NonNull com.kwai.auth.common.InternalResponse internalResponse)- 指定者:
onSuccess在接口中com.kwai.auth.ILoginListener
-
onFailed
public void onFailed(String s, int i, String s1)
- 指定者:
onFailed在接口中com.kwai.auth.ILoginListener
-
onCancel
public void onCancel()
- 指定者:
onCancel在接口中com.kwai.auth.ILoginListener
-
standardLogin
protected void standardLogin(String authCode, @NonNull AuthCallback<UserInfo> callback)
- 指定者:
standardLogin在类中SocialAuthenticator
-
oidcLogin
protected void oidcLogin(String authCode, @NonNull AuthCallback<UserInfo> callback)
- 指定者:
oidcLogin在类中SocialAuthenticator
-
getState
public String getState()
-
setState
public void setState(String state)
-
-