Package cn.authing.guard.network
Class OIDCClient
- java.lang.Object
-
- cn.authing.guard.network.OIDCClient
-
public class OIDCClient extends Object
-
-
Constructor Summary
Constructors Constructor Description OIDCClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidloginByAccount(String account, String password, AuthCallback<UserInfo> callback)static voidloginByPhoneCode(String phone, String vCode, AuthCallback<UserInfo> callback)static voidoidcInteraction(AuthData authData, AuthCallback<UserInfo> callback)static voidoidcLogin(String url, AuthData authData, AuthCallback<UserInfo> callback)
-
-
-
Method Detail
-
loginByPhoneCode
public static void loginByPhoneCode(String phone, String vCode, @NotNull AuthCallback<UserInfo> callback)
-
loginByAccount
public static void loginByAccount(String account, String password, @NotNull AuthCallback<UserInfo> callback)
-
oidcInteraction
public static void oidcInteraction(AuthData authData, @NotNull AuthCallback<UserInfo> callback)
-
oidcLogin
public static void oidcLogin(String url, AuthData authData, @NotNull AuthCallback<UserInfo> callback)
-
-