Class: MASPlugin

MASPlugin

The parent MASFoundation factory class to get objects of MAS Core classes.
Source:
Examples

To get instance of MASPluginMAS : An interface that is mapped to MAS Model of Native and controls MAS Process Lifecycle

var MAS = new MASPlugin.MAS();

To get instance of MASPluginUser : An interface that is mapped to MASUser Model of Native and controls MASUser Lifecycle

MASPlugin.MASUser.currentUser(successHandler(theUser),errorHandler(error));
//The theUser provided in the successHandler is the final populated user received after login.

To get instance of MASPluginDevice : An interface that is mapped to MASDevice Model of Native and controls MASDevice Lifecycle

var MASDevice = new MASPlugin.MASDevice();

To get instance of MASPluginApplication : An interface that is mapped to MASApplication Model of Native and controls MASApplication Lifecycle

var MASApplication = new MASPlugin.MASApplication();

To get instance of MASPluginAuthProviders : An interface that is mapped to MASAuthenticationProviders Model of Native

var MASAuthenticationProviders = new MASPlugin.MASAuthenticationProviders();

To get instance of MASPluginSecurityConfiguration : An interface that is mapped to MASSecurityConfiguration Model of Native

var MASSecurityConfiguration = new MASPlugin.MASSecurityConfiguration();

To get instance of MASPluginMultipartForm : An interface that is mapped to MASMultipartForm Model of Native

var MASMultipartForm = new MASPlugin.MASPluginMultipartForm();