# autos.mcp.oauth.login 库模块帮助文档

## autos.mcp.oauth 成员列表 <a id="autos.mcp.oauth" href="#autos.mcp.oauth">&#x23;</a>

### autos.mcp.oauth.login() <a id="autos.mcp.oauth.login" href="#autos.mcp.oauth.login">&#x23;</a>
[返回对象:winObject.form](#winObject.form)

### autos.mcp.oauth.login(auth,parent,options) <a id="autos.mcp.oauth.login" href="#autos.mcp.oauth.login">&#x23;</a>
创建可操作的可选 OAuth 登录窗口，返回 win.form，需 show()。auth 为 autos.mcp.oauth 实例。用户单击开始后才授权，等待期间重新打开浏览器/取消可用；新来源需要人工确认。不会自动调用 MCP 工具。options 同 authorize。
