AS AgentScopeAPI 手册 / API Reference

WeixinLoginStep

public record WeixinLoginStep( WeixinLoginSession session, String status, WeixinCredentials credentials, String accountId, String userId, String baseUrl)
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

承载 Weixin Login 步骤数据的记录类型。位于 io.agentscope.extensions.channel.weixin 包。核心成员包括 session、status、credentials、accountId、userId、baseUrl。

One provider observation in an iLink QR-login sequence.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
sessionWeixinLoginSession
执行会话相关操作。
Performs the session operation.
statusString
执行状态相关操作。
Performs the status operation.
credentialsWeixinCredentials
执行凭证相关操作。
Performs the credentials operation.
accountIdString
执行 `accountId` 方法。
Performs the account id operation.
userIdString
执行用户标识相关操作。
Performs the user id operation.
baseUrlString
执行基类 URL相关操作。
Performs the base url operation.

构造器摘要Constructor Summary

构造器Constructor说明Description
public WeixinLoginStep(WeixinLoginSession session, String status, WeixinCredentials credentials, String accountId, String userId, String baseUrl)
初始化 `WeixinLoginStep` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public boolean connected()
返回已连接。
Returns the connected.
public boolean alreadyConnected()
返回 `alreadyConnected` 结果。
Returns the already connected.
public boolean requiresVerification()
返回 `requiresVerification` 结果。
Returns the requires verification.

记录组件详情Record Component Detail

session

WeixinLoginSession session

执行会话相关操作。

Performs the session operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

status

String status

执行状态相关操作。

Performs the status operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

credentials

WeixinCredentials credentials

执行凭证相关操作。

Performs the credentials operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

accountId

String accountId

执行 accountId 方法。

Performs the account id operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

userId

String userId

执行用户标识相关操作。

Performs the user id operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

baseUrl

String baseUrl

执行基类 URL相关操作。

Performs the base url operation.

源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45

构造器详情Constructor Detail

WeixinLoginStep

public WeixinLoginStep(WeixinLoginSession session, String status, WeixinCredentials credentials, String accountId, String userId, String baseUrl)

初始化 WeixinLoginStep 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
sessionWeixinLoginSession会话(类型 `WeixinLoginSession`)。The session.
statusString状态(类型 `String`)。The status.
credentialsWeixinCredentials凭证(类型 `WeixinCredentials`)。The credentials.
accountIdStringaccount 标识(类型 `String`)。The account id.
userIdString用户标识(类型 `String`)。The user id.
baseUrlString基类 URL(类型 `String`)。The base url.
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:29–32

方法详情Method Detail

connected

public boolean connected()

返回已连接。

Returns the connected.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:34–36

alreadyConnected

public boolean alreadyConnected()

返回 alreadyConnected 结果。

Returns the already connected.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:38–40

requiresVerification

public boolean requiresVerification()

返回 requiresVerification 结果。

Returns the requires verification.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:42–44
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.