mirror of https://github.com/OpenVidu/openvidu.git
openvidu-node-client: TokenOptions properties optional
parent
c67e98aec5
commit
7f41f0ccad
|
@ -25,10 +25,10 @@ export interface TokenOptions {
|
|||
* - If you have provided some data when calling `Session.connect(TOKEN, DATA)` (`DATA` defined), then `Connection.data` will have the following structure: `"CLIENT_DATA%/%SERVER_DATA"`, being `CLIENT_DATA` the second
|
||||
* parameter passed in OpenVidu Browser in method `Session.connect` and `SERVER_DATA` this [[TokenOptions.data]] property.
|
||||
*/
|
||||
data: string;
|
||||
data?: string;
|
||||
|
||||
/**
|
||||
* The role assigned to this token
|
||||
*/
|
||||
role: OpenViduRole;
|
||||
role?: OpenViduRole;
|
||||
}
|
Loading…
Reference in New Issue