Skip to main content

Module token_editor

Module token_editor 

Source
Expand description

新建令牌与编辑权限对话框,以及两者共用的笔记授权字段。

Structs§

CreateTokenDialogProps 🔒
Props for the CreateTokenDialog component.
EditPermissionsDialogProps 🔒
Props for the EditPermissionsDialog component.
GrantDraft 🔒
笔记授权草稿。
GrantFieldsProps 🔒
Props for the GrantFields component.
ScopeCardsProps 🔒
Props for the ScopeCards component.

Constants§

LIFETIMES 🔒
SCOPES 🔒

Functions§

CreateTokenDialog 🔒
新建令牌对话框。创建成功后把明文交给令牌对话框。
EditPermissionsDialog 🔒
编辑令牌权限:不轮换密钥、不改有效期。
GrantFields 🔒
笔记授权:知识库读取与笔记管理,可限定笔记本。
ScopeCards 🔒
文章权限:三张单选卡片。
use_close_after_exit 🔒
关闭时先播退出动画,再通知父组件卸载。