JS can use anything for the user credential identifiers and I would hope the other libs can too! That is just data you pass to the server so it should be up to the app dev what the name is based on their app's needs and the lib just passes it along. If that is hard coded in the Android or iOS libs, IMO it should be changed.

On Jun 18, 2013, at 17:23, Daniel Passos <daniel@passos.me> wrote:

Howdy

Can someone tell me why push server authentication uses "loginName"[1] instead of "username" like TODO, controller-demo, etc...

All libs Android[2], iOS[3] and JavaScript[4] on authentication expect username/password

Thoughts?

[1] https://github.com/aerogear/aerogear-unified-push-server/commit/052c93f481d0147521cb91e8b2887725c6c48aff#L0R27
[2] https://github.com/aerogear/aero-gearandroid/blob/master/src/org/jboss/aerogear/android/authentication/impl/AGSecurityAuthenticationModuleRunner.java#L102
[3] https://github.com/aerogear/aerogear-ios/blob/master/AeroGear-iOS/AeroGear-iOS/security/AGRestAuthentication.m#L122
[4] https://github.com/aerogear/aerogear-js/blob/master/src/authentication/adapters/rest.js#L233
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev