Ignore:
Timestamp:
06/26/13 21:17:41 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Improved authentication

  • Authentication cannot be cancelled, removing a lot of weird race conditions.
  • We offer a request provider that has automatic retry in case of authentication failures.
  • Reduced dependency on LoginDialog? by having it act independent based on events. Other modules can just depend on 'session'.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/store.js

    r466 r468  
    55    'dojox/json/schema',
    66    './model/schema',
     7    './request',
    78    './store/CouchStore'
    8 ],function(stamp,Cache,Memory,jsonSchema,schema,CouchStore){
     9],function(stamp,Cache,Memory,jsonSchema,schema,request,CouchStore){
    910   
    1011    var couchStore = new CouchStore({
    11         target: 'api/data/' /*,
     12        target: 'api/data/',
     13        request: request /*,
    1214        validate: function(object) {
    1315            var result = jsonSchema.validate(object,schema);
Note: See TracChangeset for help on using the changeset viewer.