Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

authentication.setAuthorization

authentication.setAuthorization

Signature

authentication.setAuthorization(token, tokenType, principalId)

Description

Sets the token and token type that the Telerik Backend Services JavaScript SDK will use for authorization.

Parameters

Parameter Name Type Description
token string Token that will be used for authorization.
tokenType Everlive.TokenType Token type. Currently only 'bearer' token is supported.
principalId string The id of the user that is logged in.
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.