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 |
|---|---|---|
session | WeixinLoginSession | 执行会话相关操作。 Performs the session operation. |
status | String | 执行状态相关操作。 Performs the status operation. |
credentials | WeixinCredentials | 执行凭证相关操作。 Performs the credentials operation. |
accountId | String | 执行 `accountId` 方法。 Performs the account id operation. |
userId | String | 执行用户标识相关操作。 Performs the user id operation. |
baseUrl | String | 执行基类 URL相关操作。 Performs the base url operation. |
构造器摘要Constructor Summary
方法摘要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–45status
String status执行状态相关操作。
Performs the status operation.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45credentials
WeixinCredentials credentials执行凭证相关操作。
Performs the credentials operation.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45accountId
String accountId执行 accountId 方法。
Performs the account id operation.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45userId
String userId执行用户标识相关操作。
Performs the user id operation.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:21–45baseUrl
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 |
|---|---|---|
session | WeixinLoginSession | 会话(类型 `WeixinLoginSession`)。The session. |
status | String | 状态(类型 `String`)。The status. |
credentials | WeixinCredentials | 凭证(类型 `WeixinCredentials`)。The credentials. |
accountId | String | account 标识(类型 `String`)。The account id. |
userId | String | 用户标识(类型 `String`)。The user id. |
baseUrl | String | 基类 URL(类型 `String`)。The base url. |
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:29–32方法详情Method Detail
connected
public boolean connected()
返回已连接。
Returns the connected.
boolean返回布尔值,表示判断结果。Returns a boolean result.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:34–36alreadyConnected
public boolean alreadyConnected()
返回 alreadyConnected 结果。
Returns the already connected.
boolean返回布尔值,表示判断结果。Returns a boolean result.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:38–40requiresVerification
public boolean requiresVerification()
返回 requiresVerification 结果。
Returns the requires verification.
boolean返回布尔值,表示判断结果。Returns a boolean result.
源码Source
io/agentscope/extensions/channel/weixin/WeixinLoginStep.java:42–44