Skip to content

Commit 146cc81

Browse files
author
Adam Ullman
authored
Merge pull request #128 from aiham/jeffswartz-account-portal-docs
Update docs to reference the new https://tokbox.com/account page.
2 parents 0a98090 + 71309ea commit 146cc81

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,8 @@ Reference documentation is available at
252252

253253
# Requirements
254254

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

257258
The OpenTok Java SDK requires JDK 6 or greater to compile. Runtime requires Java SE 6 or greater.
258259
This project is tested on both OpenJDK and Oracle implementations.

src/main/java/com/opentok/Archive.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ public enum Status {
5252
*/
5353
STOPPED,
5454
/**
55-
* The archive file is available at the target Amazon S3 bucket
56-
* or Windows Azure container you set at the
57-
* <a href="https://dashboard.tokbox.com">OpenTok dashboard</a>.
55+
* The archive is available for download from the the upload target
56+
* Amazon S3 bucket or Windows Azure container you set up for your
57+
* <a href="https://tokbox.com/account">OpenTok project</a>.
5858
*/
5959
UPLOADED,
6060

src/main/java/com/opentok/OpenTok.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* Contains methods for creating OpenTok sessions, generating tokens, and working with archives.
2828
* <p>
2929
* To create a new OpenTok object, call the OpenTok constructor with your OpenTok API key
30-
* and the API secret from <a href="https://dashboard.tokbox.com">the OpenTok dashboard</a>. Do not publicly share
30+
* and the API secret for your <a href="https://tokbox.com/account">TokBox account</a>. Do not publicly share
3131
* your API secret. You will use it with the OpenTok constructor (only on your web
3232
* server) to create OpenTok sessions.
3333
* <p>
@@ -49,10 +49,8 @@ public class OpenTok {
4949
/**
5050
* Creates an OpenTok object.
5151
*
52-
* @param apiKey Your OpenTok API key. (See the <a href="https://dashboard.tokbox.com">OpenTok
53-
* dashboard</a> page.)
54-
* @param apiSecret Your OpenTok API secret. (See the <a href="https://dashboard.tokbox.com">OpenTok dashboard</a>
55-
* page.)
52+
* @param apiKey Your OpenTok API key. (See your <a href="https://tokbox.com/account">TokBox account page</a>.)
53+
* @param apiSecret Your OpenTok API secret. (See your <a href="https://tokbox.com/account">TokBox account page</a>.)
5654
*/
5755
public OpenTok(int apiKey, String apiSecret) {
5856
this.apiKey = apiKey;
@@ -79,7 +77,7 @@ private OpenTok(int apiKey, String apiSecret, HttpClient httpClient) {
7977
*
8078
* class Test {
8179
* public static void main(String argv[]) throws OpenTokException {
82-
* int API_KEY = 0; // Replace with your OpenTok API key (see http://dashboard.tokbox.com).
80+
* int API_KEY = 0; // Replace with your OpenTok API key (see https://tokbox.com/account).
8381
* String API_SECRET = ""; // Replace with your OpenTok API secret.
8482
* OpenTok sdk = new OpenTok(API_KEY, API_SECRET);
8583
*
@@ -100,8 +98,7 @@ private OpenTok(int apiKey, String apiSecret, HttpClient httpClient) {
10098
* }
10199
* </pre>
102100
* <p>
103-
* For testing, you can also use the <a href="https://dashboard.tokbox.com/projects">OpenTok
104-
* dashboard</a> page to generate test tokens.
101+
* For testing, you can also generate tokens by logging in to your <a href="https://tokbox.com/account">TokBox account</a>.
105102
*
106103
* @param sessionId The session ID corresponding to the session to which the user will connect.
107104
*
@@ -154,7 +151,7 @@ public String generateToken(String sessionId, TokenOptions tokenOptions) throws
154151
*
155152
* class Test {
156153
* public static void main(String argv[]) throws OpenTokException {
157-
* int API_KEY = 0; // Replace with your OpenTok API key (see http://dashboard.tokbox.com).
154+
* int API_KEY = 0; // Replace with your OpenTok API key (see https://tokbox.com/account).
158155
* String API_SECRET = ""; // Replace with your OpenTok API secret.
159156
* OpenTok sdk = new OpenTok(API_KEY, API_SECRET);
160157
*
@@ -217,7 +214,8 @@ public String generateToken(String sessionId) throws OpenTokException {
217214
* </pre>
218215
*
219216
* You can also create a session using the <a href="http://www.tokbox.com/opentok/api/#session_id_production">OpenTok
220-
* REST API</a> or the <a href="https://dashboard.tokbox.com/projects">OpenTok dashboard</a>.
217+
* REST API</a> or or by logging in to your
218+
* <a href="https://tokbox.com/account">TokBox account</a>.
221219
*
222220
* @param properties This SessionProperties object defines options for the session.
223221
* These include the following:

0 commit comments

Comments
 (0)