UNPKG

cordova-plugin-mas-core

Version:
94 lines (72 loc) 3.92 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Source: MASPluginAuthProviders.js</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Source: MASPluginAuthProviders.js</h1> <section> <article> <pre class="prettyprint source linenums"><code>/* * * Copyright (c) 2016 CA, Inc. All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * */ /** * @class MASPluginAuthProviders * @hideconstructor * @classdesc This class contains the functions for MAS Authentication Providers details. Only for Cordova-iOS platform. * &lt;table> * &lt;tr bgcolor="#D3D3D3">&lt;th>MASPluginAuthProviders Construtor&lt;/th>&lt;/tr> * &lt;tr>&lt;td>&lt;i>var MASAuthenticationProviders = new MASPlugin.MASAuthenticationProviders();&lt;/i>&lt;/td>&lt;/tr> * &lt;/table> */ var MASPluginAuthProviders = function() { /** * Returns a list of available authentication providers as enabled on the MAG server. * @memberOf MASPluginAuthProviders * @function getCurrentProviders * @instance * @param {successCallbackFunction} successHandler user defined success callback that is invoked on success scenario. The result object containing the provider list * @param {errorCallbackFunction} errorHandler user defined error callback that is invoked on failure scenario. */ this.getCurrentProviders = function(successHandler, errorHandler) { return Cordova.exec(successHandler, errorHandler, "MASPluginAuthProviders", "getCurrentProviders", []); }; /** * Returns all the proximity login providers * @memberOf MASPluginAuthProviders * @function retrieveAuthenticationProviderForProximityLogin * @instance * @param {successCallbackFunction} successHandler user defined success callback that is invoked on success scenario. * @param {errorCallbackFunction} errorHandler user defined error callback that is invoked on failure scenario. */ this.retrieveAuthenticationProviderForProximityLogin = function(successHandler, errorHandler) { return Cordova.exec(successHandler, errorHandler, "MASPluginAuthProviders", "retrieveAuthenticationProviderForProximityLogin", []); }; } module.exports = MASPluginAuthProviders;</code></pre> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="MASPlugin.html">MASPlugin</a></li><li><a href="MASPluginApplication.html">MASPluginApplication</a></li><li><a href="MASPluginAuthProviders.html">MASPluginAuthProviders</a></li><li><a href="MASPluginConstants.html">MASPluginConstants</a></li><li><a href="MASPluginDevice.html">MASPluginDevice</a></li><li><a href="MASPluginMAS.html">MASPluginMAS</a></li><li><a href="MASPluginMultipartForm.html">MASPluginMultipartForm</a></li><li><a href="MASPluginSecurityConfiguration.html">MASPluginSecurityConfiguration</a></li><li><a href="MASPluginUser.html">MASPluginUser</a></li><li><a href="MASPluginUtils.html">MASPluginUtils</a></li></ul><h3><a href="global.html">Global</a></h3> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Tue Feb 18 2020 21:13:36 GMT+0530 (India Standard Time) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>