Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. AmitSky
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Groups 0

    Topics created by AmitSky

    • A

      With MPIN login, we have to provide MPIN everytime the new session starts ?
      General Discussion • • AmitSky

      2
      0
      Votes
      2
      Posts
      32
      Views

      M

      Hi @AmitSky

      Apologies for the delayed response.
      MPIN is same as password. Unless the pin resets by the client, MPIN remains the same.

      Regards
      SmartAPI Team

    • A

      How to automate totp in java sdk
      NodeJS SDK • • AmitSky

      6
      0
      Votes
      6
      Posts
      107
      Views

      V

      Add following dependency to your maven project or download jar and add to class path

      <dependency>
      <groupId>com.warrenstrange</groupId>
      <artifactId>googleauth</artifactId>
      <version>1.4.0</version>
      </dependency>

      then add follwoing code

      GoogleAuthenticator gAuth = new GoogleAuthenticator();
      var totpcode = String.valueOf(gAuth.getTotpPassword(totp_key));

      pass this totpcode to method