As part of my experimentation with Ext.io.Controller, I've created an Authentication controller that simply extends Ext.io.Controller and implements custom methods as necessary. Seems to work just fine.

At the moment, all of the config for io is set in the main application config. Just a thought, but does it make sense to allow that configuration to be set in the controller itself (or extends of the controller)?

The following worked for me:

Code:
Ext.define('MyApp.controller.Authentication', {
        extend: 'Ext.io.Controller',
        config: {
            io: {
                logLevel: 'debug',
                appId: '5udcINurg7MjiKE3wpQwemKhnlS',
                appSecret: 'Psyp6ttPyBO2W5WU',
                authOnStartup: false,
                manualLogin: true
            }   
        }
})
And then a slight mod in sencha-io-debug (line 16022, build:0.8.7):

Code:
var conf  = this.config.io;
16123:
Code:
auth: function() {
    this.login(!this.config.io.manualLogin);
}
Thoughts?