Click or drag to resize
RESTServiceSetToken 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: 13.0.131
Syntax
C#
public 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

Implements

IRESTServiceSetToken(String, String, String)
See Also