Skip to content

Commit db16fb7

Browse files
committed
Minor docs edits to legacy T1 token option
1 parent 4a433ae commit db16fb7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/OpenTok/OpenTok.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ public function __construct($apiKey, $apiSecret, $options = array())
131131
*
132132
* </ul>
133133
*
134-
* @param bool $legacy By default, OpenTok uses SHA256 JWTs for authentication. Switching
135-
* legacy to true will create a T1 token for backwards compatibility.
134+
* @param bool $legacy Connection tokens are now SHA-256 signed JWTs.
135+
* Set this to <code>true</code> to create a token using the legacy T1 format.
136136
*
137137
* @return string The token string.
138138
*/

src/OpenTok/Session.php

+3
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ public function __toString()
152152
*
153153
* </ul>
154154
*
155+
* @param bool $legacy Connection tokens are now SHA-256 signed JWTs.
156+
* Set this to <code>true</code> to create a token using the legacy T1 format.
157+
*
155158
* @return string The token string.
156159
*/
157160
public function generateToken($options = array(), bool $legacy = false)

0 commit comments

Comments
 (0)