所有方法 实例方法 具体方法
| 修饰符和类型 |
方法 |
说明 |
Object |
authByCode(WechatMobileAuthByCodeInput reqDto) |
|
LoginTokenResponseDataDto |
authByCodeIdentity(WechatMobileAuthByCodeIdentityInput reqDto) |
|
WechatLoginTokenRespDto |
bindByAccount(BindByAccountInputApi reqDto) |
|
WechatLoginTokenRespDto |
bindByAccountId(BindByAccountIdInputApi reqDto) |
|
WechatLoginTokenRespDto |
bindByEmailCode(BindByEmailCodeInputApi reqDto) |
|
WechatLoginTokenRespDto |
bindByPhoneCode(BindByPhoneCodeInputApi reqDto) |
|
CommonResponseDto |
bindEmail(BindEmailDto reqDto) |
|
CommonResponseDto |
bindPhone(BindPhoneDto reqDto) |
|
String |
buildAuthorizeUrl() |
拼接 SAML 协议授权链接
|
String |
buildAuthorizeUrl(ICasParams params) |
拼接 CAS 协议授权链接
|
String |
buildAuthorizeUrl(IOauthParams params) |
拼接 OAUTH 2.0 协议授权链接
|
String |
buildAuthorizeUrl(IOidcParams params) |
拼接 OIDC、OAuth 2.0、SAML、CAS 协议授权链接
|
String |
buildLogoutUrl(BuildLogoutUrlParams params) |
之前版本 buildLogoutUrl 的补充,由于 buildLogoutUrl 函数名已经被占用,故命名为 buildLogoutUrlNew
|
CommonResponseDto |
changePushCodeStatus(ChangePushCodeStatusDto reqDto) |
|
CommonResponseDto |
changeQrCodeStatus(ChangeQRCodeStatusDto reqDto) |
|
CheckResourcePermissionsRespDto |
checkPermissionByArrayResource(CheckPermissionArrayResourceDto reqDto) |
|
CheckResourcePermissionsRespDto |
checkPermissionByStringResource(CheckPermissionStringResourceDto reqDto) |
|
CheckResourcePermissionsRespDto |
checkPermissionByTreeResource(CheckPermissionTreeResourceDto reqDto) |
|
CheckPushCodeStatusRespDto |
checkPushCodeStatus(CheckPushcodeStatusDto reqDto) |
|
CheckQRCodeStatusRespDto |
checkQrCodeStatus(CheckQrcodeStatusDto reqDto) |
|
Object |
checkValidCredentialsByCredIds(CheckDeviceCredentialIdDto reqDto) |
|
DecryptWechatMiniProgramDataRespDto |
decryptWechatMiniProgramData(DecryptWechatMiniProgramDataDto reqDto) |
|
IsSuccessRespDto |
deleteAccount(DeleteAccounDto reqDto) |
|
EnrollFactorRespDto |
enrollFactor(EnrollFactorDto reqDto) |
|
LoginTokenRespDto |
exchangeTokenSetWithQrCodeTicket(ExchangeTokenSetWithQRcodeTicketDto reqDto) |
|
GeneFastpassQRCodeRespDto |
geneFastpassQrcodeInfo(SignInFastpassDto reqDto) |
|
GeneQRCodeRespDto |
geneQrCode(GenerateQrcodeDto reqDto) |
|
GenerateBindExtIdpLinkRespDto |
generateLinkExtIdpUrl(GenerateLinkExtidpUrlDto reqDto) |
|
GetAccessibleAppsRespDto |
getAccessibleApps() |
|
GetAccessTokenByClientCredentialsRespDto |
getAccessTokenByClientCredentials(String scope,
ClientCredentialInput options) |
Client Credentials 模式获取 Access Token
|
OIDCTokenResponse |
getAccessTokenByCode(String code) |
|
GetAlipayAuthInfoRespDto |
getAlipayAuthInfo(GetAlipayAuthinfoDto reqDto) |
|
GetExtIdpsRespDto |
getApplicationEnabledExtIdps() |
|
AuthorizedResourcePaginatedRespDto |
getAuthorizedResources(GetMyAuthorizedResourcesDto reqDto) |
|
String |
getCodeChallengeDigest(CodeChallengeDigestParam options) |
生成 PKCE 校验码摘要值
|
GetCountryListRespDto |
getCountryList() |
|
UserDepartmentPaginatedRespDto |
getDepartmentList(GetMyDepartmentListDto reqDto) |
|
GetFactorRespDto |
getFactor(GetFactorDto reqDto) |
|
GetFastpassQRCodeRelationAppsRespDto |
getFastpassParams(GetFastpassClientAppsDto reqDto) |
|
GroupListRespDto |
getGroupList() |
|
GetIdentitiesRespDto |
getIdentities() |
|
GetLoggedInAppsRespDto |
getLoggedInApps() |
|
GetLoginHistoryRespDto |
getLoginHistory(GetMyLoginHistoryDto reqDto) |
|
GetNewAccessTokenByRefreshTokenRespDto |
getNewAccessTokenByRefreshToken(String refreshToken) |
使用 Refresh token 获取新的 Access token
|
UserSingleRespDto |
getProfile(GetProfileDto reqDto) |
|
GetPushCodeRelationAppsRespDto |
getPushLoginRelationApps(GetPushCodeRelationAppsDto reqDto) |
|
CheckQRCodeStatusRespDto |
getQrCodeStatus(GetAppLoginQrcodeStatusDto reqDto) |
|
RoleListRespDto |
getRoleList(GetMyRoleListDto reqDto) |
|
GetSecurityInfoRespDto |
getSecurityLevel() |
|
SystemInfoResp |
getSystemInfo() |
|
GetTenantListRespDto |
getTenantList() |
|
GetUserAuthResourceListRespDto |
getUserAuthorizedResourcesList() |
|
GetUserAuthResourcePermissionListRespDto |
getUserAuthResourcePermissionList(GetUserAuthResourcePermissionListDto reqDto) |
|
GetUserAuthResourceStructRespDto |
getUserAuthResourceStruct(GetUserAuthResourceStructDto reqDto) |
|
UserInfo |
getUserInfoByAccessToken(String accessToken) |
accessToken 换取用户信息
|
Map<String,Object> |
getUserInfoMapByAccessToken(String accessToken) |
accessToken 换取用户信息,用户可以自取自定义的扩展字段
|
GetWechatAccessTokenRespDto |
getWechatMpAccessToken(GetWechatAccessTokenDto reqDto) |
|
GetWechatAccessTokenInfoRespDto |
getWechatMpAccessTokenInfo(GetWechatAccessTokenDto reqDto) |
|
GetAuthenticationOptionsRespDto |
initAuthenticationOptions() |
|
GetRegistrationOptionsRespDto |
initRegisterOptions() |
|
AccessToken |
introspectAccessTokenOffline(String token) |
|
IntrospectTokenRespDto |
introspectToken(String token) |
检查 Access token 或 Refresh token 的状态
|
Object |
listCredentialsByPage(ListDeviceCredentialDto reqDto) |
|
ListEnrolledFactorsRespDto |
listEnrolledFactors() |
|
ListFactorsToEnrollRespDto |
listFactorsToEnroll() |
|
MfaOtpVerityRespDto |
mfaOtpVerify(MfaOtpVerityDto reqDto) |
|
PreCheckCodeRespDto |
preCheckCode(PreCheckCodeDto reqDto) |
|
LoginTokenRespDto |
qrCodeAppLogin(AppQRCodeLoginDto reqDto) |
|
WechatLoginTokenRespDto |
registerNewUser(BindByRegiserInputApi reqDto) |
|
Object |
removeAllCredentials(RemoveDeviceCredentialDto reqDto) |
|
Object |
removeCredential() |
|
ResetFactorRespDto |
resetFactor(ResetFactorDto reqDto) |
|
IsSuccessRespDto |
resetPassword(ResetPasswordDto reqDto) |
|
boolean |
revokeToken(String token) |
撤回 Access token 或 Refresh token
|
WechatLoginTokenRespDto |
selectAccount(BindByAccountsInputApi reqDto) |
|
SendEmailRespDto |
sendEmail(SendEmailDto reqDto) |
|
SendEnrollFactorRequestRespDto |
sendEnrollFactorRequest(SendEnrollFactorRequestDto reqDto) |
|
SendSMSRespDto |
sendSms(SendSMSDto reqDto) |
|
void |
setAccessToken(String accessToken) |
|
LoginTokenRespDto |
signInByAccountPassword(String acconnt,
String password,
SignInOptionsDto options) |
使用账号(手机号/邮箱/用户名) + 密码登录
|
LoginTokenRespDto |
signInByAD(String sAMAccountName,
String password,
SignInOptionsDto options) |
使用 AD 账号密码登录
|
LoginTokenRespDto |
signInByCredentials(SigninByCredentialsDto reqDto) |
|
LoginTokenRespDto |
signInByEmailPassCode(String email,
String passCode,
SignInOptionsDto options) |
使用邮箱 + 验证码登录
|
LoginTokenRespDto |
signInByEmailPassword(String email,
String password,
SignInOptionsDto options) |
使用邮箱 + 密码登录
|
LoginTokenRespDto |
signInByLDAP(String sAMAccountName,
String password,
SignInOptionsDto options) |
使用 LDAP 账号密码登录
|
LoginTokenRespDto |
signInByMobile(SigninByMobileDto reqDto) |
|
LoginTokenRespDto |
signInByPhonePassCode(String phone,
String passCode,
String phoneCountryCode,
SignInOptionsDto options) |
使用手机号 + 验证码登录
|
LoginTokenRespDto |
signInByPhonePassword(String phone,
String password,
SignInOptionsDto options) |
使用手机号 + 密码登录
|
GenePushCodeRespDto |
signInByPush(SignInByPushDto reqDto) |
|
LoginTokenRespDto |
signInByUsernamePassword(String username,
String password,
SignInOptionsDto options) |
使用用户名 + 密码登录
|
UserSingleRespDto |
signUp(SignUpDto reqDto) |
|
UserSingleRespDto |
signUpByEmailPassCode(String email,
String passCode,
SignUpProfileDto profile,
SignUpOptionsDto options) |
使用邮箱 + 验证码注册
|
UserSingleRespDto |
signUpByEmailPassword(String email,
String password,
SignUpProfileDto profile,
SignUpOptionsDto options) |
使用邮箱 + 密码注册
|
UserSingleRespDto |
signUpByPhonePassCode(String phone,
String passCode,
String phoneCountryCode,
SignUpProfileDto profile,
SignUpOptionsDto options) |
使用手机号 + 验证码注册
|
UserSingleRespDto |
signUpByUsernamePassword(String username,
String password,
SignUpProfileDto profile,
SignUpOptionsDto options) |
使用用户名 + 密码注册
|
CommonResponseDto |
unbindEmail(UnbindEmailDto reqDto) |
|
CommonResponseDto |
unbindPhone(UnbindPhoneDto reqDto) |
|
CommonResponseDto |
unlinkExtIdp(UnlinkExtIdpDto reqDto) |
|
CommonResponseDto |
updateEmail(UpdateEmailDto reqDto) |
|
CommonResponseDto |
updatePassword(UpdatePasswordDto reqDto) |
|
CommonResponseDto |
updatePhone(UpdatePhoneDto reqDto) |
|
UserSingleRespDto |
updateProfile(UpdateUserProfileDto reqDto) |
|
ValidateTicketV1Response |
validateTicketV1(String ticket,
String service) |
检验 CAS 1.0 Ticket 合法性
|
String |
validateTicketV2(String ticket,
String service,
String format) |
通过远端服务验证票据合法性
|
ValidateTokenRespDto |
validateToken(ValidateTokenParams params) |
效验Token合法性
|
VerifyAuthenticationResultRespDto |
verifyAuthentication(VerifyAuthenticationDto reqDto) |
|
VerifyDeleteAccountRequestRespDto |
verifyDeleteAccountRequest(VerifyDeleteAccountRequestDto reqDto) |
|
VerifyRegistrationResultRespDto |
verifyRegister(VerifyRegistrationDto reqDto) |
|
PasswordResetVerifyResp |
verifyResetPasswordRequest(VerifyResetPasswordRequestDto reqDto) |
|
VerifyUpdateEmailRequestRespDto |
verifyUpdateEmailRequest(VerifyUpdateEmailRequestDto reqDto) |
|
VerifyUpdatePhoneRequestRespDto |
verifyUpdatePhoneRequest(VerifyUpdatePhoneRequestDto reqDto) |
|