summaryrefslogtreecommitdiff
path: root/services/json_auth.esp
blob: 0fdd98037d6ab46d9ddf6c3b2d508c12bb0bb9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<%
/* Return true to allow access; false otherwise */
function json_authenticate(serviceComponents, method, scriptTransportId)
{
    // Don't allow any access via ScriptTransport, for now.
    if (scriptTransportId != jsonrpc.Constant.ScriptTransport.NotInUse)
    {
        return false;
    }

    return true;
}

/*
 * Local Variables:
 * mode: c
 * End:
 */
%>