Code Monkey home page Code Monkey logo

cordova-mas-foundation's Introduction

Maintenance

‼️ Please note that Cordova and Xamarin support for the SDK has been deprecated with release 2.1. The 2.1 release will be the last release with Cordova and Xamarin support. Please do not submit any new changes as they are no longer being accepted. Please contact Broadcom support https://support.broadcom.com/ to report any defects or make a request for an update.

Cordova-MAS-Foundation is the core Cordova framework for Layer7 Mobile API Gateway.


Features

The Cordova-MAS-Foundation framework has the following features:

  • User Authentication and Authorization
  • Customize Login Dialogs
  • Customized Login Mechanism Handling
  • Enterprise Browser
  • Fingerprint Sessions Lock
  • One-Time Password (OTP)
  • Proximity Login (QR Code)
  • Social Login
  • SSL Pinning with certificate, public key, or public key hash
  • Intermediate Certificate for enhanced security
  • Multipart Form Upload capability. Enables the SDK user to upload files.

Get Started

Follow our documentation to install Cordova and set up iOS and Android projects.


Generate Reference documents

The reference documents for the MAS modules are generated using the JSDoc markdown language. JSDoc reads the JS files with annotations in comments, and generates an HTML output. It considers the comments that start with /**.

To install JSDoc, follow the instructions on JSDoc website.

The Cordova reference documents are available at our techdocs.broadcom.com site.

Example: An annotated comment for validateOTP method is as follows:

 /**
  Validate the OTP.
  * @param {function} successHandler user defined success callback
  * @param {function} errorHandler user defined error callback
  * @param {string} otp user defined one-time password to verify
  */

Param – Specifies a parameter. {string} – Specifies the return type of the method. otp – Specifies the variable name. user defined one-time password to verify – Describes the method.

Compile the JSDoc reference document as follows:

jsdoc www/ -d jsdocs

where “www/” is the location of the js file, and “-d jsdocs” is the location where the generated reference documents are placed.

For more information about how to write and compile the JSDoc reference documents, see the JSDoc website.

How You Can Contribute

Contributions are welcome and much appreciated. To learn more, see the Contribution Guidelines.

Communication

  • Have general questions or need help?, use [Stack Overflow][StackOverflow]. (Tag 'massdk')
  • Find a bug?, open an issue with the steps to reproduce it.
  • Request a feature or have an idea?, open an issue.

License

Copyright (c) 2019 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.

This software may be modified and distributed under the terms of the MIT license. See the LICENSE file for details.

cordova-mas-foundation's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-mas-foundation's Issues

Vague error (Code 0) calling MASPlugin.start() method

After successfully calling initialize and grantFlow (password), I am calling the start() method and receiving the following error:

errorInfo: {}, errorMessage: "The operation couldn’t be completed. ( error 0.)", errorCode: 0}
This also happens with the alternate start methods - startWithJSON, etc.

The msso_config.json is in the Resources folder inside the Xcode project.

Platform: iOS
Repo: Master

Cordova Installation for ios error

While installing the plugin in Cordova, I'm not able to install it for the ios platform.

here's the error I'm getting

    at ChildProcess.whenDone (/Users/neerajs/Sites/projects/develapme/mobile-app-v2/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
    at ChildProcess.emit (events.js:189:13)
    at maybeClose (internal/child_process.js:970:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:189:13)
    at Pipe._handle.close (net.js:600:12)

pod: Command failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.