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 void_getUserInfoByAccessToken(UserInfo userInfo, AuthCallback<UserInfo> callback)static voidauthByCode(String code, String codeVerifier, String redirectUrl, AuthCallback<UserInfo> callback)static voidgetNewAccessTokenByRefreshToken(String refreshToken, AuthCallback<UserInfo> callback)static voidgetUserInfoByAccessToken(UserInfo userInfo, AuthCallback<UserInfo> callback)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)
-
authByCode
public static void authByCode(String code, String codeVerifier, String redirectUrl, @NotNull AuthCallback<UserInfo> callback)
-
getUserInfoByAccessToken
public static void getUserInfoByAccessToken(UserInfo userInfo, @NotNull AuthCallback<UserInfo> callback)
-
_getUserInfoByAccessToken
public static void _getUserInfoByAccessToken(UserInfo userInfo, @NotNull AuthCallback<UserInfo> callback)
-
getNewAccessTokenByRefreshToken
public static void getNewAccessTokenByRefreshToken(String refreshToken, @NotNull AuthCallback<UserInfo> callback)
-
-