Uses of Class
com.sankcrm.erp.auth.domain.model.App
Packages that use App
Package
Description
-
Uses of App in com.sankcrm.erp.auth.application.app.captcha
Methods in com.sankcrm.erp.auth.application.app.captcha that return AppModifier and TypeMethodDescriptionCaptchaPolicyAccess.requireAuthorizedApp(String appId, jakarta.servlet.http.HttpServletRequest request, String action) 加载目标应用并执行严格授权校验。Methods in com.sankcrm.erp.auth.application.app.captcha with parameters of type App -
Uses of App in com.sankcrm.erp.auth.application.app.command.updateorcreate
Methods in com.sankcrm.erp.auth.application.app.command.updateorcreate that return AppModifier and TypeMethodDescriptionUpdateOrCreateCommandHandler.handle(UpdateOrCreateCommand command) protected AppUpdateOrCreateCommandHandler.save(App src, UpdateOrCreateCommand command) Methods in com.sankcrm.erp.auth.application.app.command.updateorcreate with parameters of type AppModifier and TypeMethodDescriptionprotected AppUpdateOrCreateCommandHandler.save(App src, UpdateOrCreateCommand command) -
Uses of App in com.sankcrm.erp.auth.application.app.query
Methods in com.sankcrm.erp.auth.application.app.query that return types with arguments of type App -
Uses of App in com.sankcrm.erp.auth.application.app.query.byid
Methods in com.sankcrm.erp.auth.application.app.query.byid that return AppMethods in com.sankcrm.erp.auth.application.app.query.byid that return types with arguments of type App -
Uses of App in com.sankcrm.erp.auth.application.app.query.list
Methods in com.sankcrm.erp.auth.application.app.query.list that return types with arguments of type AppModifier and TypeMethodDescriptionAppListQueryHandler.doQuery(com.querydsl.jpa.JPQLQuery<App> jpqlQuery, AppListQuery query) Method parameters in com.sankcrm.erp.auth.application.app.query.list with type arguments of type AppModifier and TypeMethodDescriptionAppListQueryHandler.doQuery(com.querydsl.jpa.JPQLQuery<App> jpqlQuery, AppListQuery query) -
Uses of App in com.sankcrm.erp.auth.application.app.query.page
Methods in com.sankcrm.erp.auth.application.app.query.page that return types with arguments of type AppModifier and TypeMethodDescriptionprotected com.sankcrm.erp.bus.Pagination<App> AppPageQueryHandler.doQuery(com.querydsl.jpa.JPQLQuery<App> jpqlQuery, AppPageQuery query) Method parameters in com.sankcrm.erp.auth.application.app.query.page with type arguments of type AppModifier and TypeMethodDescriptionprotected com.sankcrm.erp.bus.Pagination<App> AppPageQueryHandler.doQuery(com.querydsl.jpa.JPQLQuery<App> jpqlQuery, AppPageQuery query) -
Uses of App in com.sankcrm.erp.auth.application.authz.captcha
Methods in com.sankcrm.erp.auth.application.authz.captcha with parameters of type App -
Uses of App in com.sankcrm.erp.auth.application.authz.command.create
Methods in com.sankcrm.erp.auth.application.authz.command.create that return AppMethods in com.sankcrm.erp.auth.application.authz.command.create with parameters of type AppModifier and TypeMethodDescriptionprotected voidAuthzCommandHandler.checkCaptchaLoginAttempt(App app, String authType, String account) 登录凭证校验前执行独立登录限流;启用策略且 Redis 不可用时拒绝登录。protected voidAuthzCommandHandler.clearCredentialFailure(App app, String authType, String account) protected voidAuthzCommandHandler.recordCredentialFailure(App app, String authType, String account) 仅在密码凭证错误或密码账号不存在时累计失败。设置 应用信息protected voidAuthzCommandHandler.verifyCaptcha(App app, String authType, String account, com.sankcrm.erp.auth.sdk.authz.command.CaptchaAnswer answer) 将验证码校验经 Bus 分发到独立命令处理器,避免登录编排直接依赖基础设施。protected voidComboAuthCommandHandler.verifyTopLevelCaptcha(App app, AuthzCommand passwordAuth, com.sankcrm.erp.auth.sdk.authz.command.CaptchaAnswer answer) 组合认证只在顶层校验一次验证码,内部 verifyOnly 不再次消费答案。 -
Uses of App in com.sankcrm.erp.auth.application.sms.code.command.create
Methods in com.sankcrm.erp.auth.application.sms.code.command.create that return AppModifier and TypeMethodDescriptionCreateCommandHandler.Context.getAndCheckApp(com.sankcrm.erp.auth.domain.model.app.AppId appId) -
Uses of App in com.sankcrm.erp.auth.application.thirdauth
Methods in com.sankcrm.erp.auth.application.thirdauth with parameters of type AppModifier and TypeMethodDescriptionAuthCodeUriGenerator.generateUri(App app, ThirdAppInfo thirdApp, AppChannel channel, Scopes scope, String authId, String baseUrl) 生成获取授权码的地址 -
Uses of App in com.sankcrm.erp.auth.application.thirdauth.ali
Methods in com.sankcrm.erp.auth.application.thirdauth.ali with parameters of type AppModifier and TypeMethodDescriptionAliAuthCodeUriGenerator.generateUri(App app, ThirdAppInfo thirdApp, AppChannel channel, Scopes scope, String authId, String baseUrl) -
Uses of App in com.sankcrm.erp.auth.application.thirdauth.wechat
Methods in com.sankcrm.erp.auth.application.thirdauth.wechat with parameters of type AppModifier and TypeMethodDescriptionWechatAuthCodeUriGenerator.generateUri(App app, ThirdAppInfo thirdApp, AppChannel channel, Scopes scope, String authId, String baseUrl) -
Uses of App in com.sankcrm.erp.auth.application.user.info.command.create
Methods in com.sankcrm.erp.auth.application.user.info.command.create with parameters of type AppModifier and TypeMethodDescriptionprotected UserInfoCreateCommandHandler.create(App app, CreateCommand command) protected UserInfoCreateCommandHandler.create(App app, com.sankcrm.erp.auth.domain.model.app.LoginPolicy loginPolicy, CreateCommand command) protected UserInfoCreateCommandHandler.emailLoginCreate(App app, com.sankcrm.erp.auth.domain.model.app.UsernamePolicy username, CreateCommand command) -
Uses of App in com.sankcrm.erp.auth.application.user.info.command.update
Methods in com.sankcrm.erp.auth.application.user.info.command.update with parameters of type AppModifier and TypeMethodDescriptionprotected UserInfoUpdateCommandHandler.emailLoginUpdate(App app, com.sankcrm.erp.auth.domain.model.app.UsernamePolicy username, UserInfo old, UpdateCommand command) protected UserInfoUpdateCommandHandler.update(App app, UserInfo old, UpdateCommand command) -
Uses of App in com.sankcrm.erp.auth.application.user.info.query.byusername
Methods in com.sankcrm.erp.auth.application.user.info.query.byusername with parameters of type App -
Uses of App in com.sankcrm.erp.auth.domain.model
Methods in com.sankcrm.erp.auth.domain.model that return AppModifier and TypeMethodDescription<T> AppApp.addChannelConf(String channelKey, T value) 增加渠道配置<T extends Serializable>
App增加扩展信息Constructor parameters in com.sankcrm.erp.auth.domain.model with type arguments of type App -
Uses of App in com.sankcrm.erp.auth.infrastructure.app
Methods in com.sankcrm.erp.auth.infrastructure.app with parameters of type App -
Uses of App in com.sankcrm.erp.auth.infrastructure.app.mapper
Methods in com.sankcrm.erp.auth.infrastructure.app.mapper with parameters of type App -
Uses of App in com.sankcrm.erp.auth.infrastructure.authz
Methods in com.sankcrm.erp.auth.infrastructure.authz that return AppMethods in com.sankcrm.erp.auth.infrastructure.authz with parameters of type App -
Uses of App in com.sankcrm.erp.auth.infrastructure.captcha
Methods in com.sankcrm.erp.auth.infrastructure.captcha with parameters of type AppModifier and TypeMethodDescriptionCaptchaChallengeRepository.accountKey(App app, String account) 为 App 与账号原值派生不可逆、不可枚举的 Redis 键片段。voidCaptchaChallengeRepository.clearFailures(App app, String authType, String account) 删除指定账号失败计数;清理失败时保留保护状态并记录非敏感上下文及完整异常。longCaptchaChallengeRepository.consumeChallenge(App app, String authType, String accountKey, String flowId, String challengeId, String candidate) 原子校验绑定并消费一次性挑战。使用应用密钥派生挑战答案摘要;原答案不写入 Redis。longCaptchaChallengeRepository.failureCount(App app, String authType, String account) voidCaptchaChallengeRepository.incrementFailures(App app, String authType, String account, Duration window) 原子递增账号失败计数并设置首写 TTL;结果缺失或小于 1 均视为存储故障。voidCaptchaChallengeRepository.limitChallenge(App app, String authType, String account, String flowId, String clientAddress) 按 flow 与账号限流,并附加账号范围内的地址限流,避免共享代理地址形成全站阻断。voidCaptchaChallengeRepository.limitLogin(App app, String authType, String account) 按应用、认证方式和账号限制登录校验尝试;计数器写入失败时拒绝登录。voidCaptchaChallengeRepository.limitVerification(App app, String authType, String account, String flowId) 同时按账号+flow 与账号总量限制验证码校验请求。voidCaptchaChallengeRepository.saveChallenge(App app, String authType, String accountKey, String flowId, String id, String answer, Duration ttl) 用单条 Lua 原子替换同一 app/scene/type/account/flow 的当前挑战并设置挑战及映射 TTL。 -
Uses of App in com.sankcrm.erp.auth.infrastructure.persistence.hibernate
Methods in com.sankcrm.erp.auth.infrastructure.persistence.hibernate that return AppModifier and TypeMethodDescriptiondefault AppAppRepository.findOneBy(com.sankcrm.erp.auth.domain.model.app.AppId appId) Methods in com.sankcrm.erp.auth.infrastructure.persistence.hibernate that return types with arguments of type AppModifier and TypeMethodDescriptionAppRepository.findBy(com.sankcrm.erp.auth.domain.model.app.AppId appId) AppRepository.findByAppId(com.sankcrm.erp.auth.domain.model.app.AppId appId) AppRepository.findByOrganizeIdAndName(com.sankcrm.erp.auth.domain.model.OrganizationId organizationId, String name) -
Uses of App in com.sankcrm.erp.auth.infrastructure.thirdauth
Methods in com.sankcrm.erp.auth.infrastructure.thirdauth with parameters of type AppModifier and TypeMethodDescriptionstatic AppChannelThirdUtils.channelFrom(App app, com.sankcrm.erp.auth.domain.model.thirdauth.Providers provider) 获取应用的第三方认证配置static ThirdAppInfoThirdUtils.thirdAppFrom(App app, AppChannel channel) static ThirdAppInfoThirdUtils.thirdAppFrom(App app, com.sankcrm.erp.auth.domain.model.thirdauth.Providers provider)