Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/OpenTok/OpenTok.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ public function __construct($apiKey, $apiSecret, $options = array())
*
* </ul>
*
* @param bool $legacy By default, OpenTok uses SHA256 JWTs for authentication. Switching
* legacy to true will create a T1 token for backwards compatibility.
* @param bool $legacy Connection tokens are now SHA-256 signed JWTs.
* Set this to <code>true</code> to create a token using the legacy T1 format.
*
* @return string The token string.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/OpenTok/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ public function __toString()
*
* </ul>
*
* @param bool $legacy Connection tokens are now SHA-256 signed JWTs.
* Set this to <code>true</code> to create a token using the legacy T1 format.
*
* @return string The token string.
*/
public function generateToken($options = array(), bool $legacy = false)
Expand Down
Loading