function returnExpiredDeviceCodeError()

in Modules/common.js [133:143]


function returnExpiredDeviceCodeError(callback) {
    var msg = {
        "error": "expired_token"
    };
    var response = {
        statusCode: 400,
        headers: {"content-type": "application/json", "cache-control": "no-store"},
        body: JSON.stringify(msg),
    };
    callback(null, response);
}