Skip to content

Commit 6698bd4

Browse files
committed
Update docs to reference the new https://tokbox.com/account page.
1 parent 618edf2 commit 6698bd4

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
@@ -246,7 +246,8 @@ Reference documentation is available at
246246

247247
# Requirements
248248

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

251252
The OpenTok Java SDK requires JDK 6 or greater to compile. Runtime requires Java SE 6 or greater.
252253
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
@@ -35,7 +35,7 @@
3535
* Contains methods for creating OpenTok sessions, generating tokens, and working with archives.
3636
* <p>
3737
* To create a new OpenTok object, call the OpenTok constructor with your OpenTok API key
38-
* and the API secret from <a href="https://dashboard.tokbox.com">the OpenTok dashboard</a>. Do not publicly share
38+
* and the API secret for your <a href="https://tokbox.com/account">TokBox account</a>. Do not publicly share
3939
* your API secret. You will use it with the OpenTok constructor (only on your web
4040
* server) to create OpenTok sessions.
4141
* <p>
@@ -54,10 +54,8 @@ public class OpenTok {
5454
/**
5555
* Creates an OpenTok object.
5656
*
57-
* @param apiKey Your OpenTok API key. (See the <a href="https://dashboard.tokbox.com">OpenTok
58-
* dashboard</a> page.)
59-
* @param apiSecret Your OpenTok API secret. (See the <a href="https://dashboard.tokbox.com">OpenTok dashboard</a>
60-
* page.)
57+
* @param apiKey Your OpenTok API key. (See your <a href="https://tokbox.com/account">TokBox account page</a>.)
58+
* @param apiSecret Your OpenTok API secret. (See your <a href="https://tokbox.com/account">TokBox account page</a>.)
6159
*/
6260
public OpenTok(int apiKey, String apiSecret) {
6361
this(apiKey, apiSecret, "https://api.opentok.com");
@@ -84,7 +82,7 @@ public OpenTok(int apiKey, String apiSecret, String apiUrl) {
8482
*
8583
* class Test {
8684
* public static void main(String argv[]) throws OpenTokException {
87-
* int API_KEY = 0; // Replace with your OpenTok API key (see http://dashboard.tokbox.com).
85+
* int API_KEY = 0; // Replace with your OpenTok API key (see https://tokbox.com/account).
8886
* String API_SECRET = ""; // Replace with your OpenTok API secret.
8987
* OpenTok sdk = new OpenTok(API_KEY, API_SECRET);
9088
*
@@ -105,8 +103,7 @@ public OpenTok(int apiKey, String apiSecret, String apiUrl) {
105103
* }
106104
* </pre>
107105
* <p>
108-
* For testing, you can also use the <a href="https://dashboard.tokbox.com/projects">OpenTok
109-
* dashboard</a> page to generate test tokens.
106+
* For testing, you can also generate tokens by logging in to your <a href="https://tokbox.com/account">TokBox account</a>.
110107
*
111108
* @param sessionId The session ID corresponding to the session to which the user will connect.
112109
*
@@ -159,7 +156,7 @@ public String generateToken(String sessionId, TokenOptions tokenOptions) throws
159156
*
160157
* class Test {
161158
* public static void main(String argv[]) throws OpenTokException {
162-
* int API_KEY = 0; // Replace with your OpenTok API key (see http://dashboard.tokbox.com).
159+
* int API_KEY = 0; // Replace with your OpenTok API key (see https://tokbox.com/account).
163160
* String API_SECRET = ""; // Replace with your OpenTok API secret.
164161
* OpenTok sdk = new OpenTok(API_KEY, API_SECRET);
165162
*
@@ -222,7 +219,8 @@ public String generateToken(String sessionId) throws OpenTokException {
222219
* </pre>
223220
*
224221
* You can also create a session using the <a href="http://www.tokbox.com/opentok/api/#session_id_production">OpenTok
225-
* REST API</a> or the <a href="https://dashboard.tokbox.com/projects">OpenTok dashboard</a>.
222+
* REST API</a> or or by logging in to your
223+
* <a href="https://tokbox.com/account">TokBox account</a>.
226224
*
227225
* @param properties This SessionProperties object defines options for the session.
228226
* These include the following:

0 commit comments

Comments
 (0)