当前位置: 动力学知识库 > 问答 > 编程问答 >

apigee - Auto logout after 30 min

问题描述:

I am new in apigee. I am using below function for a login in application:

 client.login(username, password,

function (err) {

if (err) {

alert('Invalid username or password.');

$(".ajax_loader").hide();

$("#login-btn").show();

} else {

//login succeeded

client.getLoggedInUser(function(err, data, user) {

if(err) {

//error - could not get logged in user

alert(err);

}

And I want to set auto logout after 30 min, is it possible, and if yes, where we can set this limit?

网友答案:

There is currently no feature for auto logout. Possibly this is an enhancement the usergrid team would consider.

分享给朋友:
您可能感兴趣的文章:
随机阅读: