-
Notifications
You must be signed in to change notification settings - Fork 9
vaddc
Deva Kumar edited this page Jun 15, 2020
·
1 revision
When running a DDC the app is running in a authenticated session. To enable restaf to use the current session, do the following:
async function setup() {
let p = {
authType: 'server',
host: window.location.origin
}
let msg = await store.logon(p);
...more stuff..
}
All subsequent calls to restaf and restaflib will run under the current session.
An important point to remember is that restaf will handle the xsrf tokens for your applications - more cool housekeeping by restaf.
.... Under construction...
-
restaf
-
restaflib
-
Examples:
- Cas Server
- Compute Server
- Scoring with MAS
- Scoring with CAS
- Utility
-
CAS Related Functions
-
MAS Related Functions
-
Compute Server Related Functions
-
Reports Related Functions
-
Interactive CLI
-
Special Topic