
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
cloud-ui-materials
Advanced tools
runtime
账号与权限中心的统一认证登录组件
<lcap-login src="http://nuims.vusion.top" useGithub></lcap-login>
<lcap-login src="http://nuims.vusion.top" useIcbc hasUserCenter></lcap-login>
| Prop/Attr | Type | Options | Default | Description |
|---|---|---|---|---|
| useRedirect | boolean | false | 是否开启登录页。若关闭登录页,请选择跳转登录配置,否则会影响应用的登录和权限控制 | |
| mainLoginTypes | objectArray | [\[object Object\], \[object Object\], \[object Object\], \[object Object\]] | 主登录类型 | |
| subLoginTypes | objectArray | [\[object Object\], \[object Object\], \[object Object\], \[object Object\], \[object Object\], \[object Object\], \[object Object\], \[object Object\]] | 辅助登录类型 | |
| redirectLoginTypes | objectArray | [\[object Object\]] | 跳转登录配置 | |
| exdays | number | 1 | 设置 Cookie 过期天数 |
登录成功后触发
| Param | Type | Description |
|---|---|---|
| $event.Authorization | string | 登录成功后为用户颁发的 AccessToken |
| $event.UserId | string | 用户 ID |
| $event.UserName | string | 用户名 |
| $event.Message | string | 登录成功的信息 |
登录失败后触发
| Param | Type | Description |
|---|---|---|
| $event.Message | string | 登录失败的信息 |
FAQs
Unknown package
We found that cloud-ui-materials demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.