MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / getLoginAuthStateLabel

Function getLoginAuthStateLabel

background.js:3606–3620  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

3604}
3605
3606function getLoginAuthStateLabel(state) {
3607 if (typeof loggingStatus !== 'undefined' && loggingStatus?.getLoginAuthStateLabel) {
3608 return loggingStatus.getLoginAuthStateLabel(state);
3609 }
3610 state = state === 'oauth_consent_page' ? 'unknown' : state;
3611 switch (state) {
3612 case 'verification_page': return '登录验证码页';
3613 case 'password_page': return '密码页';
3614 case 'email_page': return '邮箱输入页';
3615 case 'login_timeout_error_page': return '登录超时报错页';
3616 case 'oauth_consent_page': return 'OAuth 授权页';
3617 case 'add_phone_page': return '手机号页';
3618 default: return '未知页面';
3619 }
3620}
3621
3622function isRestartCurrentAttemptError(error) {
3623 if (typeof loggingStatus !== 'undefined' && loggingStatus?.isRestartCurrentAttemptError) {

Callers 2

runAutoSequenceFromStepFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected