Click or drag to resize
IRESTServiceSetToken Method
Validates user name and password and sets security token which will protect application against CSRF.

Namespace: CMS.WebServices
Assembly: CMS.WebServices (in CMS.WebServices.dll) Version: 12.0.0
Syntax
C#
Stream SetToken(
	string userName,
	string password,
	string token
)

Parameters

userName
Type: SystemString
User name.
password
Type: SystemString
Password.
token
Type: SystemString
Token.

Return Value

Type: Stream
See Also