类 AuthClient
- java.lang.Object
-
- cn.authing.guard.network.AuthClient
-
public class AuthClient extends Object
-
-
构造器概要
构造器 构造器 说明 AuthClient()
-
方法概要
所有方法 静态方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static voidbindBiometric(RegistrationParams registrationParams, AuthCallback<JSONObject> callback)static voidbindBiometricRequest(AuthCallback<JSONObject> callback)static voidbindEmail(String email, String code, AuthCallback<UserInfo> callback)static voidbindPhone(String phone, String code, AuthCallback<UserInfo> callback)static voidbindPhone(String phoneCountryCode, String phone, String code, AuthCallback<UserInfo> callback)static voidbindPushCid(String cid, AuthCallback<JSONObject> callback)static voidbindWechatByAccount(String key, String account, String password, AuthCallback<UserInfo> callback)static voidbindWechatByAccountId(String key, String accountId, AuthCallback<UserInfo> callback)static voidbindWechatByEmailCode(String key, String email, String code, AuthCallback<UserInfo> callback)static voidbindWechatByPhoneCode(String key, String phoneCountryCode, String phone, String code, AuthCallback<UserInfo> callback)static voidbindWechatBySelectedAccountId(String key, String account, AuthCallback<UserInfo> callback)static voidbindWechatWithRegister(String key, AuthCallback<UserInfo> callback)static voidbiometricAuthentication(AuthenticationParams authenticationParams, AuthCallback<JSONObject> callback)static voidbiometricAuthenticationRequest(AuthCallback<JSONObject> callback)static voidcancelByScannedTicket(String ticket, AuthCallback<JSONObject> callback)static voidchangePushCodeStatus(String pushCodeId, String action, AuthCallback<JSONObject> callback)static voidcheckAccount(String paramsName, String paramsValue, AuthCallback<JSONObject> callback)static voidcheckBiometricBind(String authenticatorCode, String[] credentialIds, AuthCallback<JSONObject> callback)static voidcheckPassword(String password, AuthCallback<JSONObject> callback)static cn.authing.guard.network.AuthClient.PasswordStrengthcomputePasswordSecurityLevel(String password)static voidcreateDevice(DeviceInfo deviceInfo, AuthCallback<JSONObject> callback)static voidcreateTokenFromResponse(Response data, AuthCallback<UserInfo> callback)static voidcreateUserInfoFromResponse(UserInfo userInfo, Response data, AuthCallback<UserInfo> callback)static voidcreateUserInfoFromResponse(Response data, AuthCallback<UserInfo> callback)static voiddeleteAccount(AuthCallback<JSONObject> callback)static voiddeviceList(int page, int limit, DeviceStatus deviceStatus, String os, String keyword, AuthCallback<JSONObject> callback)static voidgetBiometricList(String authenticatorCode, AuthCallback<JSONObject> callback)static voidgetCaptchaCode(AuthCallback<Drawable> callback)static voidgetCollaborationUserPolls(AuthCallback<JSONObject> callback)static voidgetCurrentUser(AuthCallback<UserInfo> callback)static voidgetCurrentUser(UserInfo userInfo, AuthCallback<UserInfo> callback)static voidgetCurrentUserInfo(AuthCallback<UserInfo> callback)static voidgetCurrentUserInfo(UserInfo userInfo, AuthCallback<UserInfo> callback)static voidgetCurrentUserV3(UserInfo userInfo, AuthCallback<UserInfo> callback)static voidgetCustomUserData(UserInfo userInfo, AuthCallback<UserInfo> callback)static voidgetFastPassClientApps(String qrcodeId, String appId, AuthCallback<JSONObject> callback)static voidgetOtpQrCode(AuthCallback<JSONObject> callback)static voidgetPushLoginRelationApps(String pushCodeId, String appId, AuthCallback<JSONObject> callback)static voidgetRelatedClientApps(String appId, AuthCallback<JSONObject> callback)static voidgetSecurityLevel(AuthCallback<JSONObject> callback)static voidgetUserPollDetail(AuthCallback<JSONObject> callback)static voidgetUserPolls(int page, int limit, AuthCallback<JSONObject> callback)static voidlistApplications(int page, int limit, AuthCallback<List<Application>> callback)static voidlistApplications(AuthCallback<List<Application>> callback)static voidlistAuthorizedResources(String namespace, AuthCallback<List<Resource>> callback)static voidlistAuthorizedResources(String namespace, String resourceType, AuthCallback<List<Resource>> callback)static voidlistOrgs(AuthCallback<List<Organization[]>> callback)static voidlistRoles(AuthCallback<List<Role>> callback)static voidlistRoles(String namespace, AuthCallback<List<Role>> callback)static voidloginByAccount(AuthRequest authData, String account, String password, boolean autoRegister, String context, String captchaCode, AuthCallback<UserInfo> callback)static voidloginByAccount(String account, String password, boolean autoRegister, String context, AuthCallback<UserInfo> callback)static voidloginByAccount(String account, String password, boolean autoRegister, String context, String captchaCode, AuthCallback<UserInfo> callback)static voidloginByAccount(String account, String password, AuthCallback<UserInfo> callback)static voidloginByAlipay(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByAlipay(String authCode, AuthCallback<UserInfo> callback)static voidloginByAmazon(AuthRequest authData, String accessToken, AuthCallback<UserInfo> callback)static voidloginByAmazon(String accessToken, AuthCallback<UserInfo> callback)static voidloginByBaidu(AuthRequest authData, String accessToken, AuthCallback<UserInfo> callback)static voidloginByBaidu(String accessToken, AuthCallback<UserInfo> callback)static voidloginByDingTalk(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByDingTalk(String authCode, AuthCallback<UserInfo> callback)static voidloginByDouYin(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByDouYin(String authCode, AuthCallback<UserInfo> callback)static voidloginByEmailCode(AuthRequest authData, String email, String code, boolean autoRegister, String context, AuthCallback<UserInfo> callback)static voidloginByEmailCode(String email, String code, boolean autoRegister, String context, AuthCallback<UserInfo> callback)static voidloginByEmailCode(String email, String code, AuthCallback<UserInfo> callback)static voidloginByFaceBook(AuthRequest authData, String accessToken, AuthCallback<UserInfo> callback)static voidloginByFaceBook(String accessToken, AuthCallback<UserInfo> callback)static voidloginByGitee(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByGitee(String authCode, AuthCallback<UserInfo> callback)static voidloginByGithub(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByGithub(String authCode, AuthCallback<UserInfo> callback)static voidloginByGitLab(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByGitLab(String authCode, AuthCallback<UserInfo> callback)static voidloginByGoogle(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByGoogle(String authCode, AuthCallback<UserInfo> callback)static voidloginByHuaWei(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByHuaWei(String authCode, AuthCallback<UserInfo> callback)static voidloginByKuaiShou(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByKuaiShou(String authCode, AuthCallback<UserInfo> callback)static voidloginByLark(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByLark(String authCode, AuthCallback<UserInfo> callback)static voidloginByLine(AuthRequest authData, String accessToken, String idToken, AuthCallback<UserInfo> callback)static voidloginByLine(String accessToken, String idToken, AuthCallback<UserInfo> callback)static voidloginByLinkedin(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByLinkedin(String authCode, AuthCallback<UserInfo> callback)static voidloginByOneAuth(AuthRequest authData, String token, String accessToken, int netWork, AuthCallback<UserInfo> callback)static voidloginByOneAuth(String token, String accessToken, int netWork, AuthCallback<UserInfo> callback)static voidloginByOneAuth(String token, String accessToken, AuthCallback<UserInfo> callback)static voidloginByOppo(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByOppo(String authCode, AuthCallback<UserInfo> callback)static voidloginByPhoneCode(AuthRequest authData, String phoneCountryCode, String phone, String code, boolean autoRegister, String context, AuthCallback<UserInfo> callback)static voidloginByPhoneCode(String phone, String code, AuthCallback<UserInfo> callback)static voidloginByPhoneCode(String phoneCountryCode, String phone, String code, boolean autoRegister, String context, AuthCallback<UserInfo> callback)static voidloginByPhoneCode(String phoneCountryCode, String phone, String code, AuthCallback<UserInfo> callback)static voidloginByQQ(AuthRequest authData, String accessToken, AuthCallback<UserInfo> callback)static voidloginByQQ(String accessToken, AuthCallback<UserInfo> callback)static voidloginByQrCode(String qrcodeId, AuthCallback<JSONObject> callback)static voidloginByScannedTicket(boolean autoMarkScanned, String ticket, AuthCallback<JSONObject> callback)static voidloginByScannedTicket(String ticket, AuthCallback<JSONObject> callback)static voidloginBySlack(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginBySlack(String authCode, AuthCallback<UserInfo> callback)static voidloginByWechat(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByWechat(String authCode, AuthCallback<UserInfo> callback)static voidloginByWechatMiniProgram(AuthRequest authData, String code, String phoneInfoCode, AuthCallback<UserInfo> callback)static voidloginByWechatMiniProgram(String code, String phoneInfoCode, AuthCallback<UserInfo> callback)static voidloginByWechatWithBind(AuthRequest authData, String authCode, String context, AuthCallback<UserInfo> callback)static voidloginByWechatWithBind(String authCode, String context, AuthCallback<UserInfo> callback)static voidloginByWecom(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByWecom(String authCode, AuthCallback<UserInfo> callback)static voidloginByWecomAgency(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByWecomAgency(String authCode, AuthCallback<UserInfo> callback)static voidloginByWeibo(AuthRequest authData, String accessToken, AuthCallback<UserInfo> callback)static voidloginByWeibo(String accessToken, AuthCallback<UserInfo> callback)static voidloginByXiaomi(AuthRequest authData, String authCode, AuthCallback<UserInfo> callback)static voidloginByXiaomi(String authCode, AuthCallback<UserInfo> callback)static voidlogout(AuthCallback<?> callback)static voidlogout(String onlySelf, AuthCallback<?> callback)static voidlogoutByDeviceId(String deviceId, AuthCallback<JSONObject> callback)static voidmarkQRCodeScanned(String ticket, AuthCallback<JSONObject> callback)static voidmfaBindByFace(String photoKeyA, String photoKeyB, AuthCallback<UserInfo> callback)static voidmfaBindByOtp(String code, AuthCallback<UserInfo> callback)static voidmfaCheck(String phone, String email, AuthCallback<Boolean> callback)static voidmfaVerifyByEmail(String email, String code, AuthCallback<UserInfo> callback)static voidmfaVerifyByFace(String photoKey, AuthCallback<UserInfo> callback)static voidmfaVerifyByOTP(String code, AuthCallback<UserInfo> callback)static voidmfaVerifyByPhone(String phone, String code, AuthCallback<UserInfo> callback)static voidmfaVerifyByPhone(String phoneCountryCode, String phone, String code, AuthCallback<UserInfo> callback)static voidmfaVerifyByRecoveryCode(String code, AuthCallback<UserInfo> callback)static voidpubEvent(String eventCode, String eventData, AuthCallback<JSONObject> callback)发布事件static voidregisterByEmail(AuthRequest authData, String email, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByEmail(String email, String password, AuthCallback<UserInfo> callback)static voidregisterByEmail(String email, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByEmailCode(AuthRequest authData, String email, String code, String context, AuthCallback<UserInfo> callback)static voidregisterByEmailCode(String email, String code, AuthCallback<UserInfo> callback)static voidregisterByEmailCode(String email, String code, String context, AuthCallback<UserInfo> callback)static voidregisterByExtendField(AuthRequest authData, String fieldName, String account, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByExtendField(String fieldName, String account, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByPhoneCode(AuthRequest authData, String phoneCountryCode, String phone, String code, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByPhoneCode(String phone, String code, String password, AuthCallback<UserInfo> callback)static voidregisterByPhoneCode(String phoneCountryCode, String phone, String code, String password, AuthCallback<UserInfo> callback)static voidregisterByPhoneCode(String phoneCountryCode, String phone, String code, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByPhonePassword(AuthRequest authData, String phoneCountryCode, String phone, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByPhonePassword(String phoneCountryCode, String phone, String password, String context, AuthCallback<UserInfo> callback)static voidregisterByUserName(String username, String password, AuthCallback<UserInfo> callback)static voidregisterByUserName(String username, String password, String context, AuthCallback<UserInfo> callback)static voidremoveDevice(String deviceId, AuthCallback<JSONObject> callback)static voidresetPasswordByEmailCode(String emailAddress, String code, String newPassword, AuthCallback<JSONObject> callback)static voidresetPasswordByFirstTimeLoginToken(String token, String newPassword, AuthCallback<JSONObject> callback)static voidresetPasswordByPhoneCode(String phone, String code, String newPassword, AuthCallback<JSONObject> callback)static voidresetPasswordByPhoneCode(String phoneCountryCode, String phone, String code, String newPassword, AuthCallback<JSONObject> callback)static voidsendEmail(String emailAddress, String scene, AuthCallback<JSONObject> callback)static voidsendMFAEmail(String emailAddress, AuthCallback<JSONObject> callback)static voidsendResetPasswordEmail(String emailAddress, AuthCallback<JSONObject> callback)static voidsendSms(String phone, AuthCallback<?> callback)static voidsendSms(String phoneCountryCode, String phone, AuthCallback<?> callback)static voidsetCustomUserData(JSONObject customData, AuthCallback<JSONObject> callback)static voidsubEvent(String eventCode, Receiver receiver)订阅事件static voidunBindBiometric(String credentialID, AuthCallback<JSONObject> callback)static voidunbindEmail(AuthCallback<UserInfo> callback)static voidunBindMfaEmail(AuthCallback<JSONObject> callback)static voidunBindMfaPhone(AuthCallback<JSONObject> callback)static voidunbindPhone(AuthCallback<UserInfo> callback)static voidunBindPushCid(String cid, AuthCallback<JSONObject> callback)static voidupdateCustomUserInfo(JSONObject customData, AuthCallback<JSONObject> callback)已过时。static voidupdateIdToken(AuthCallback<UserInfo> callback)static voidupdatePassword(String newPassword, String oldPassword, AuthCallback<JSONObject> callback)static voidupdatePhone(String phoneCountryCode, String phone, String code, String oldPhoneCountryCode, String oldPhone, String oldCode, AuthCallback<UserInfo> callback)static voidupdateProfile(JSONObject object, AuthCallback<UserInfo> callback)static voidupdateUser(JSONObject object, AuthCallback<UserInfo> callback)已过时。static voiduploadAvatar(InputStream in, AuthCallback<UserInfo> callback)
-
-
-
方法详细资料
-
registerByExtendField
public static void registerByExtendField(String fieldName, String account, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByExtendField
public static void registerByExtendField(AuthRequest authData, String fieldName, String account, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByEmail
public static void registerByEmail(String email, String password, @NotNull AuthCallback<UserInfo> callback)
-
registerByEmail
public static void registerByEmail(String email, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByEmail
public static void registerByEmail(AuthRequest authData, String email, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByEmailCode
public static void registerByEmailCode(String email, String code, @NotNull AuthCallback<UserInfo> callback)
-
registerByEmailCode
public static void registerByEmailCode(String email, String code, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByEmailCode
public static void registerByEmailCode(AuthRequest authData, String email, String code, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByUserName
public static void registerByUserName(String username, String password, @NotNull AuthCallback<UserInfo> callback)
-
registerByUserName
public static void registerByUserName(String username, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByPhonePassword
public static void registerByPhonePassword(String phoneCountryCode, String phone, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByPhonePassword
public static void registerByPhonePassword(AuthRequest authData, String phoneCountryCode, String phone, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByPhoneCode
public static void registerByPhoneCode(String phone, String code, String password, @NotNull AuthCallback<UserInfo> callback)
-
registerByPhoneCode
public static void registerByPhoneCode(String phoneCountryCode, String phone, String code, String password, @NotNull AuthCallback<UserInfo> callback)
-
registerByPhoneCode
public static void registerByPhoneCode(String phoneCountryCode, String phone, String code, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
registerByPhoneCode
public static void registerByPhoneCode(AuthRequest authData, String phoneCountryCode, String phone, String code, String password, String context, @NotNull AuthCallback<UserInfo> callback)
-
sendSms
public static void sendSms(String phone, @NotNull AuthCallback<?> callback)
-
sendSms
public static void sendSms(String phoneCountryCode, String phone, @NotNull AuthCallback<?> callback)
-
loginByPhoneCode
public static void loginByPhoneCode(String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
loginByPhoneCode
public static void loginByPhoneCode(String phoneCountryCode, String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
loginByPhoneCode
public static void loginByPhoneCode(String phoneCountryCode, String phone, String code, boolean autoRegister, String context, @NotNull AuthCallback<UserInfo> callback)
-
loginByPhoneCode
public static void loginByPhoneCode(AuthRequest authData, String phoneCountryCode, String phone, String code, boolean autoRegister, String context, @NotNull AuthCallback<UserInfo> callback)
-
loginByEmailCode
public static void loginByEmailCode(String email, String code, @NotNull AuthCallback<UserInfo> callback)
-
loginByEmailCode
public static void loginByEmailCode(String email, String code, boolean autoRegister, String context, @NotNull AuthCallback<UserInfo> callback)
-
loginByEmailCode
public static void loginByEmailCode(AuthRequest authData, String email, String code, boolean autoRegister, String context, @NotNull AuthCallback<UserInfo> callback)
-
loginByAccount
public static void loginByAccount(String account, String password, @NotNull AuthCallback<UserInfo> callback)
-
loginByAccount
public static void loginByAccount(String account, String password, boolean autoRegister, String context, @NotNull AuthCallback<UserInfo> callback)
-
loginByAccount
public static void loginByAccount(String account, String password, boolean autoRegister, String context, String captchaCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByAccount
public static void loginByAccount(AuthRequest authData, String account, String password, boolean autoRegister, String context, String captchaCode, @NotNull AuthCallback<UserInfo> callback)
-
sendResetPasswordEmail
public static void sendResetPasswordEmail(String emailAddress, @NotNull AuthCallback<JSONObject> callback)
-
sendMFAEmail
public static void sendMFAEmail(String emailAddress, @NotNull AuthCallback<JSONObject> callback)
-
sendEmail
public static void sendEmail(String emailAddress, String scene, @NotNull AuthCallback<JSONObject> callback)
-
uploadAvatar
public static void uploadAvatar(InputStream in, @NotNull AuthCallback<UserInfo> callback)
-
resetPasswordByPhoneCode
public static void resetPasswordByPhoneCode(String phone, String code, String newPassword, @NotNull AuthCallback<JSONObject> callback)
-
resetPasswordByPhoneCode
public static void resetPasswordByPhoneCode(String phoneCountryCode, String phone, String code, String newPassword, @NotNull AuthCallback<JSONObject> callback)
-
resetPasswordByEmailCode
public static void resetPasswordByEmailCode(String emailAddress, String code, String newPassword, @NotNull AuthCallback<JSONObject> callback)
-
resetPasswordByFirstTimeLoginToken
public static void resetPasswordByFirstTimeLoginToken(String token, String newPassword, @NotNull AuthCallback<JSONObject> callback)
-
loginByWechat
public static void loginByWechat(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWechat
public static void loginByWechat(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWecom
public static void loginByWecom(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWecom
public static void loginByWecom(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWecomAgency
public static void loginByWecomAgency(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWecomAgency
public static void loginByWecomAgency(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByAlipay
public static void loginByAlipay(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByAlipay
public static void loginByAlipay(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByLark
public static void loginByLark(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByLark
public static void loginByLark(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGoogle
public static void loginByGoogle(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGoogle
public static void loginByGoogle(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByFaceBook
public static void loginByFaceBook(String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByFaceBook
public static void loginByFaceBook(AuthRequest authData, String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByWechatMiniProgram
public static void loginByWechatMiniProgram(String code, String phoneInfoCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWechatMiniProgram
public static void loginByWechatMiniProgram(AuthRequest authData, String code, String phoneInfoCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByQQ
public static void loginByQQ(String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByQQ
public static void loginByQQ(AuthRequest authData, String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByWeibo
public static void loginByWeibo(String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByWeibo
public static void loginByWeibo(AuthRequest authData, String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByBaidu
public static void loginByBaidu(String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByBaidu
public static void loginByBaidu(AuthRequest authData, String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByLinkedin
public static void loginByLinkedin(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByLinkedin
public static void loginByLinkedin(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByDingTalk
public static void loginByDingTalk(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByDingTalk
public static void loginByDingTalk(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByDouYin
public static void loginByDouYin(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByDouYin
public static void loginByDouYin(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGithub
public static void loginByGithub(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGithub
public static void loginByGithub(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGitee
public static void loginByGitee(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGitee
public static void loginByGitee(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGitLab
public static void loginByGitLab(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByGitLab
public static void loginByGitLab(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByXiaomi
public static void loginByXiaomi(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByXiaomi
public static void loginByXiaomi(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByKuaiShou
public static void loginByKuaiShou(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByKuaiShou
public static void loginByKuaiShou(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByLine
public static void loginByLine(String accessToken, String idToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByLine
public static void loginByLine(AuthRequest authData, String accessToken, String idToken, @NotNull AuthCallback<UserInfo> callback)
-
loginBySlack
public static void loginBySlack(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginBySlack
public static void loginBySlack(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByHuaWei
public static void loginByHuaWei(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByHuaWei
public static void loginByHuaWei(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByOppo
public static void loginByOppo(String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByOppo
public static void loginByOppo(AuthRequest authData, String authCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByAmazon
public static void loginByAmazon(String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByAmazon
public static void loginByAmazon(AuthRequest authData, String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByOneAuth
public static void loginByOneAuth(String token, String accessToken, @NotNull AuthCallback<UserInfo> callback)
-
loginByOneAuth
public static void loginByOneAuth(String token, String accessToken, int netWork, @NotNull AuthCallback<UserInfo> callback)
-
loginByOneAuth
public static void loginByOneAuth(AuthRequest authData, String token, String accessToken, int netWork, @NotNull AuthCallback<UserInfo> callback)
-
bindEmail
public static void bindEmail(String email, String code, @NotNull AuthCallback<UserInfo> callback)
-
unbindEmail
public static void unbindEmail(@NotNull AuthCallback<UserInfo> callback)
-
bindPhone
public static void bindPhone(String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
bindPhone
public static void bindPhone(String phoneCountryCode, String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
unbindPhone
public static void unbindPhone(@NotNull AuthCallback<UserInfo> callback)
-
updatePhone
public static void updatePhone(String phoneCountryCode, String phone, String code, String oldPhoneCountryCode, String oldPhone, String oldCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByWechatWithBind
public static void loginByWechatWithBind(String authCode, String context, @NotNull AuthCallback<UserInfo> callback)
-
loginByWechatWithBind
public static void loginByWechatWithBind(AuthRequest authData, String authCode, String context, @NotNull AuthCallback<UserInfo> callback)
-
bindWechatWithRegister
public static void bindWechatWithRegister(String key, @NotNull AuthCallback<UserInfo> callback)
-
bindWechatByAccount
public static void bindWechatByAccount(String key, String account, String password, @NotNull AuthCallback<UserInfo> callback)
-
bindWechatByPhoneCode
public static void bindWechatByPhoneCode(String key, String phoneCountryCode, String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
bindWechatByEmailCode
public static void bindWechatByEmailCode(String key, String email, String code, @NotNull AuthCallback<UserInfo> callback)
-
bindWechatBySelectedAccountId
public static void bindWechatBySelectedAccountId(String key, String account, @NotNull AuthCallback<UserInfo> callback)
-
bindWechatByAccountId
public static void bindWechatByAccountId(String key, String accountId, @NotNull AuthCallback<UserInfo> callback)
-
computePasswordSecurityLevel
public static cn.authing.guard.network.AuthClient.PasswordStrength computePasswordSecurityLevel(String password)
-
getSecurityLevel
public static void getSecurityLevel(@NotNull AuthCallback<JSONObject> callback)
-
listRoles
public static void listRoles(@NotNull AuthCallback<List<Role>> callback)
-
listRoles
public static void listRoles(String namespace, @NotNull AuthCallback<List<Role>> callback)
-
listApplications
public static void listApplications(@NotNull AuthCallback<List<Application>> callback)
-
listApplications
public static void listApplications(int page, int limit, @NotNull AuthCallback<List<Application>> callback)
-
listAuthorizedResources
public static void listAuthorizedResources(String namespace, @NotNull AuthCallback<List<Resource>> callback)
-
listAuthorizedResources
public static void listAuthorizedResources(String namespace, String resourceType, @NotNull AuthCallback<List<Resource>> callback)
-
listOrgs
public static void listOrgs(@NotNull AuthCallback<List<Organization[]>> callback)
-
updateIdToken
public static void updateIdToken(@NotNull AuthCallback<UserInfo> callback)
-
mfaCheck
public static void mfaCheck(String phone, String email, @NotNull AuthCallback<Boolean> callback)
-
mfaVerifyByPhone
public static void mfaVerifyByPhone(String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
mfaVerifyByPhone
public static void mfaVerifyByPhone(String phoneCountryCode, String phone, String code, @NotNull AuthCallback<UserInfo> callback)
-
mfaVerifyByEmail
public static void mfaVerifyByEmail(String email, String code, @NotNull AuthCallback<UserInfo> callback)
-
mfaVerifyByOTP
public static void mfaVerifyByOTP(String code, @NotNull AuthCallback<UserInfo> callback)
-
mfaVerifyByFace
public static void mfaVerifyByFace(String photoKey, @NotNull AuthCallback<UserInfo> callback)
-
mfaVerifyByRecoveryCode
public static void mfaVerifyByRecoveryCode(String code, @NotNull AuthCallback<UserInfo> callback)
-
getOtpQrCode
public static void getOtpQrCode(@NotNull AuthCallback<JSONObject> callback)
-
mfaBindByOtp
public static void mfaBindByOtp(String code, @NotNull AuthCallback<UserInfo> callback)
-
mfaBindByFace
public static void mfaBindByFace(String photoKeyA, String photoKeyB, @NotNull AuthCallback<UserInfo> callback)
-
unBindMfaPhone
public static void unBindMfaPhone(@NotNull AuthCallback<JSONObject> callback)
-
unBindMfaEmail
public static void unBindMfaEmail(@NotNull AuthCallback<JSONObject> callback)
-
updatePassword
public static void updatePassword(String newPassword, String oldPassword, @NotNull AuthCallback<JSONObject> callback)
-
getCurrentUser
public static void getCurrentUser(@NotNull AuthCallback<UserInfo> callback)
-
getCurrentUser
public static void getCurrentUser(UserInfo userInfo, @NotNull AuthCallback<UserInfo> callback)
-
getCurrentUserInfo
public static void getCurrentUserInfo(@NotNull AuthCallback<UserInfo> callback)
-
getCurrentUserInfo
public static void getCurrentUserInfo(UserInfo userInfo, @NotNull AuthCallback<UserInfo> callback)
-
getCurrentUserV3
public static void getCurrentUserV3(UserInfo userInfo, @NotNull AuthCallback<UserInfo> callback)
-
updateUser
@Deprecated public static void updateUser(JSONObject object, @NotNull AuthCallback<UserInfo> callback)
已过时。
-
updateProfile
public static void updateProfile(JSONObject object, @NotNull AuthCallback<UserInfo> callback)
-
updateCustomUserInfo
@Deprecated public static void updateCustomUserInfo(JSONObject customData, @NotNull AuthCallback<JSONObject> callback)
已过时。
-
setCustomUserData
public static void setCustomUserData(JSONObject customData, @NotNull AuthCallback<JSONObject> callback)
-
getCustomUserData
public static void getCustomUserData(UserInfo userInfo, @NotNull AuthCallback<UserInfo> callback)
-
logout
public static void logout(@NotNull AuthCallback<?> callback)
-
logout
public static void logout(String onlySelf, @NotNull AuthCallback<?> callback)
-
deleteAccount
public static void deleteAccount(AuthCallback<JSONObject> callback)
-
markQRCodeScanned
public static void markQRCodeScanned(String ticket, @NotNull AuthCallback<JSONObject> callback)
-
loginByScannedTicket
public static void loginByScannedTicket(boolean autoMarkScanned, String ticket, @NotNull AuthCallback<JSONObject> callback)
-
loginByScannedTicket
public static void loginByScannedTicket(String ticket, @NotNull AuthCallback<JSONObject> callback)
-
cancelByScannedTicket
public static void cancelByScannedTicket(String ticket, @NotNull AuthCallback<JSONObject> callback)
-
createUserInfoFromResponse
public static void createUserInfoFromResponse(Response data, @NotNull AuthCallback<UserInfo> callback)
-
createUserInfoFromResponse
public static void createUserInfoFromResponse(UserInfo userInfo, Response data, @NotNull AuthCallback<UserInfo> callback)
-
createTokenFromResponse
public static void createTokenFromResponse(Response data, @NotNull AuthCallback<UserInfo> callback)
-
checkPassword
public static void checkPassword(String password, @NotNull AuthCallback<JSONObject> callback)
-
checkAccount
public static void checkAccount(String paramsName, String paramsValue, @NotNull AuthCallback<JSONObject> callback)
-
getUserPolls
public static void getUserPolls(int page, int limit, @NotNull AuthCallback<JSONObject> callback)
-
getUserPollDetail
public static void getUserPollDetail(@NotNull AuthCallback<JSONObject> callback)
-
getCollaborationUserPolls
public static void getCollaborationUserPolls(@NotNull AuthCallback<JSONObject> callback)
-
bindPushCid
public static void bindPushCid(String cid, @NotNull AuthCallback<JSONObject> callback)
-
unBindPushCid
public static void unBindPushCid(String cid, @NotNull AuthCallback<JSONObject> callback)
-
changePushCodeStatus
public static void changePushCodeStatus(String pushCodeId, String action, @NotNull AuthCallback<JSONObject> callback)
-
loginByQrCode
public static void loginByQrCode(String qrcodeId, @NotNull AuthCallback<JSONObject> callback)
-
createDevice
public static void createDevice(DeviceInfo deviceInfo, @NotNull AuthCallback<JSONObject> callback)
-
deviceList
public static void deviceList(int page, int limit, DeviceStatus deviceStatus, String os, String keyword, @NotNull AuthCallback<JSONObject> callback)
-
removeDevice
public static void removeDevice(String deviceId, @NotNull AuthCallback<JSONObject> callback)
-
logoutByDeviceId
public static void logoutByDeviceId(String deviceId, @NotNull AuthCallback<JSONObject> callback)
-
bindBiometricRequest
public static void bindBiometricRequest(@NotNull AuthCallback<JSONObject> callback)
-
bindBiometric
public static void bindBiometric(RegistrationParams registrationParams, @NotNull AuthCallback<JSONObject> callback)
-
unBindBiometric
public static void unBindBiometric(String credentialID, @NotNull AuthCallback<JSONObject> callback)
-
getBiometricList
public static void getBiometricList(String authenticatorCode, @NotNull AuthCallback<JSONObject> callback)
-
checkBiometricBind
public static void checkBiometricBind(String authenticatorCode, String[] credentialIds, @NotNull AuthCallback<JSONObject> callback)
-
biometricAuthenticationRequest
public static void biometricAuthenticationRequest(@NotNull AuthCallback<JSONObject> callback)
-
biometricAuthentication
public static void biometricAuthentication(AuthenticationParams authenticationParams, @NotNull AuthCallback<JSONObject> callback)
-
getFastPassClientApps
public static void getFastPassClientApps(String qrcodeId, String appId, @NotNull AuthCallback<JSONObject> callback)
-
getRelatedClientApps
public static void getRelatedClientApps(String appId, @NotNull AuthCallback<JSONObject> callback)
-
getPushLoginRelationApps
public static void getPushLoginRelationApps(String pushCodeId, String appId, @NotNull AuthCallback<JSONObject> callback)
-
getCaptchaCode
public static void getCaptchaCode(@NotNull AuthCallback<Drawable> callback)
-
pubEvent
public static void pubEvent(String eventCode, String eventData, @NotNull AuthCallback<JSONObject> callback)
发布事件
-
-