立即开始
Ably Tools

Ably Request Access Token

通过 Aident Loadout 使用 Ably Tools 的 Ably Request Access Token。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Request an access token for Ably authentication. Use this when you need to generate a token with specific capabilities and client identifiers for secure authentication. The token can be used to authenticate clients with limited permissions and time-bound access.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • ttlinteger
    Time-to-live for the token in milliseconds. Defaults to 60 minutes (3600000ms) if not specified.
  • noncestring
    Random nonce string for token request uniqueness. Prevents replay attacks. If not provided, Ably generates one.
  • key_namestring
    必填
    The key name comprises of the app ID and key ID of an API key. Format: appId.keyId (e.g., 'rLhKFg.1Hf06Q')
  • client_idstring
    Optional client identifier to associate with this token. When set, the token can only be used by the specified client ID.
  • timestampinteger
    Token request timestamp in milliseconds since epoch. If not provided, Ably will use the current server time. Used for token request validation.
  • capabilitystring
    JSON-stringified capability text specifying permissions. Use '{"*":["*"]}' for full access, or specify specific channels and operations. Must be a valid JSON string.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源