Class: MASPluginAuthProviders

MASPluginAuthProviders

This class contains the functions for MAS Authentication Providers details. Only for Cordova-iOS platform.
MASPluginAuthProviders Construtor
var MASAuthenticationProviders = new MASPlugin.MASAuthenticationProviders();

Methods

getCurrentProviders(successHandler, errorHandler)

Returns a list of available authentication providers as enabled on the MAG server.
Parameters:
Name Type Description
successHandler successCallbackFunction user defined success callback that is invoked on success scenario. The result object containing the provider list
errorHandler errorCallbackFunction user defined error callback that is invoked on failure scenario.
Source:

retrieveAuthenticationProviderForProximityLogin(successHandler, errorHandler)

Returns all the proximity login providers
Parameters:
Name Type Description
successHandler successCallbackFunction user defined success callback that is invoked on success scenario.
errorHandler errorCallbackFunction user defined error callback that is invoked on failure scenario.
Source: