Skip to content

Commit

Permalink
Merge pull request #146 from jeffswartz/account-portal-docs
Browse files Browse the repository at this point in the history
Update docs to reference the new https://tokbox.com/account page.
  • Loading branch information
aoberoi committed Aug 16, 2016
2 parents 4ed7c22 + 134a79d commit b65874c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -208,7 +208,8 @@ Reference documentation is available at

# Requirements

You need an OpenTok API key and API secret, which you can obtain at <https://dashboard.tokbox.com>.
You need an OpenTok API key and API secret, which you can obtain by logging into your
[TokBox account](https://tokbox.com/account).

The OpenTok PHP SDK requires PHP 5.3 or greater.

Expand Down
4 changes: 2 additions & 2 deletions src/OpenTok/Archive.php
Expand Up @@ -65,8 +65,8 @@
* <li> "started" -- The archive started and is in the process of being recorded.</li>
* <li> "stopped" -- The archive stopped recording.</li>
* <li> "uploaded" -- The archive is available for download from the the upload target
* Amazon S3 bucket or Windows Azure container you specified at
* <a href="https://dashboard.tokbox.com">the OpenTok dashboard</a>.</li>
* Amazon S3 bucket or Windows Azure container you set up for your
* <a href="https://tokbox.com/account">OpenTok project</a>.</li>
* </ul>
*
* @property string $url
Expand Down
11 changes: 5 additions & 6 deletions src/OpenTok/OpenTok.php
Expand Up @@ -18,7 +18,7 @@
* Contains methods for creating OpenTok sessions, generating tokens, and working with archives.
* <p>
* To create a new OpenTok object, call the OpenTok() constructor with your OpenTok API key
* and the API secret from <a href="https://dashboard.tokbox.com">the OpenTok dashboard</a>. Do not
* and the API secret for your <a href="https://tokbox.com/account">TokBox account</a>. Do not
* publicly share your API secret. You will use it with the OpenTok() constructor (only on your web
* server) to create OpenTok sessions.
* <p>
Expand Down Expand Up @@ -57,8 +57,8 @@ public function __construct($apiKey, $apiSecret, $options = array())
* Creates a token for connecting to an OpenTok session. In order to authenticate a user
* connecting to an OpenTok session, the client passes a token when connecting to the session.
* <p>
* For testing, you can also use the <a href="https://dashboard.tokbox.com/projects">OpenTok
* dashboard</a> page to generate test tokens.
* For testing, you generate tokens or by logging in to your
* <a href="https://tokbox.com/account">TokBox account</a>.
*
* @param string $sessionId The session ID corresponding to the session to which the user
* will connect.
Expand Down Expand Up @@ -130,9 +130,8 @@ public function generateToken($sessionId, $options = array())
* Calling this method results in an OpenTokException in the event of an error.
* Check the error message for details.
* <p>
* You can also create a session using the
* <a href="http://www.tokbox.com/opentok/api/#session_id_production">OpenTok
* REST API</a> or the <a href="https://dashboard.tokbox.com/projects">OpenTok dashboard</a>.
* You can also create a session by logging in to your
* <a href="https://tokbox.com/account">TokBox account</a>.
*
* @param array $options (Optional) This array defines options for the session. The array includes
* the following keys (all of which are optional):
Expand Down
6 changes: 3 additions & 3 deletions src/OpenTok/Session.php
Expand Up @@ -113,10 +113,10 @@ public function __toString()

/**
* Creates a token for connecting to the session. In order to authenticate a user,
* cthe client passes a token when connecting to the session.
* the client passes a token when connecting to the session.
* <p>
* For testing, you can also use the <a href="https://dashboard.tokbox.com/projects">OpenTok
* dashboard</a> page to generate test tokens.
* For testing, you can also generate tokens or by logging in to your
* <a href="https://tokbox.com/account">TokBox account</a>.
*
* @param array $options This array defines options for the token. This array include the
* following keys, all of which are optional:
Expand Down

0 comments on commit b65874c

Please sign in to comment.