@taiyi-io/api-connector-ts
    Preparing search index...

    Function authenticateByToken

    • 使用令牌认证

      Parameters

      • backendURL: string

        后端URL

      • user: string

        用户标识

      • device: string

        唯一设备标识

      • serial: string

        设备序列号

      • signature_algorithm: Ed25519

        签名算法

      • private_key: string

        私钥

      Returns Promise<BackendResult<AllocatedTokens>>

      认证令牌