refactor kiro auth flow and share account password service
This commit is contained in:
@@ -124,15 +124,51 @@
|
||||
{
|
||||
id: 2,
|
||||
order: 20,
|
||||
key: 'kiro-await-device-login',
|
||||
title: '等待设备登录确认',
|
||||
key: 'kiro-submit-email',
|
||||
title: '获取邮箱并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-await-device-login',
|
||||
command: 'kiro-submit-email',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
order: 30,
|
||||
key: 'kiro-submit-name',
|
||||
title: '填写姓名并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-submit-name',
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
order: 40,
|
||||
key: 'kiro-submit-verification-code',
|
||||
title: '获取验证码并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-submit-verification-code',
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
order: 50,
|
||||
key: 'kiro-fill-password',
|
||||
title: '设置密码并继续',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-fill-password',
|
||||
},
|
||||
{
|
||||
id: 6,
|
||||
order: 60,
|
||||
key: 'kiro-confirm-access',
|
||||
title: '确认访问并授权',
|
||||
sourceId: 'kiro-device-auth',
|
||||
driverId: 'background/kiro-device-auth',
|
||||
command: 'kiro-confirm-access',
|
||||
},
|
||||
{
|
||||
id: 7,
|
||||
order: 70,
|
||||
key: 'kiro-upload-credential',
|
||||
title: '上传凭据到 kiro.rs',
|
||||
sourceId: 'kiro-rs-admin',
|
||||
|
||||
Reference in New Issue
Block a user