IRESTService SetToken Method Kentico 8.0 API Reference
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: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineStream
See Also