文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Core SDK

Vivox Core SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
  • Reference
    • Access Token Developer Guide
    • Server to Server Web API Reference Guide
      • Prerequisites
      • Authentication
      • Access tokens
      • Channel and user identification
      • Parameters
      • Login API
      • Control active channels API
      • Kick API
      • Error handling
    • Core API Reference Manual
    • Third-party license information
  • Privacy overview
  1. Vivox Core SDK documentation

Login API

Reference the Login API for user authentication.
阅读时间1 分钟
最后更新于 8 个月前

The game server uses
/api2/viv_signin.php
to sign in to the Vivox service and obtain an
auth_token
.
  • A successful
    viv_signin.php
    call returns an
    auth_token
    in the response.
  • The
    auth_token
    authenticates subsequence web requests.
Use the following parameters to perform a sign in action:
  • userid - The Vivox username of the user to sign in.
  • pwd - The password associated with the userid.
The following example displays the URL structure to use when you call
viv_signin.php
:
https://mt1s.www.vivox.com/api2/viv_signin.php?userid=Vivox-RuneRun-dev-Admin&pwd=aKDnh2FIyHeyzwBd
The following code displays the response for this example.
<response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.vivox.com" xsi:schemaLocation="/xsd/response.xsd"> <level0> <status>OK</status> <body> <status>Ok</status> <sip_qval>1</sip_qval> <loginname>Vivox-RuneRun-dev-Admin</loginname> <displayname/> <account_id>161</account_id> <auth_token> Vivox-RuneRun-dev-Admin:1540215742:3b0182741a3ebd92487a640d9e16d50e:10.5.255.168 </auth_token> <sip_acct>sip:Vivox-RuneRun-dev-Admin@mt1s.vivox.com</sip_acct> <sip_uri>sip:Vivox-RuneRun-dev-Admin@mt1s.vivox.com</sip_uri> <sip_displayname/> </body> </level0></response>

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题