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

authentication.login

authentication.login

This method offers alternative signatures:

authentication.login(username, password)

Signature

authentication.login(username, password)

Description

Logs in a user using a username and a password to the current Backend Services JavaScript SDK instance. All requests initiated by the current Backend Services JavaScript SDK instance will be authenticated with that user's credentials.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
username string The user's username.
password string The user's password.


authentication.login(username, password, [success], [error])

Signature

authentication.login(username, password, [success], [error])

Description

Logs in a user using a username and a password to the current Backend Services JavaScript SDK instance. All requests initiated by the current Backend Services JavaScript SDK instance will be authenticated with that user's credentials.

Parameters

Parameter Name Type Description
username string The user's username.
password string The user's password.
[success] function A success callback.
[error] function An error callback.


Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.