Connect with Jalsonic Secure
Your users sign into your website with Jaslonic Secure, and free yourself from password management.
Works everywhere
Jalsonic secure is a cross-browser login system for the Web, that's easy to use and easy to deploy. It works on all major Internet browsers.
Jalsonic secure login for web with HTTP API.
Jalsonic secure login is a personalize and secure way for people to enjoy the benefits of a registered user account in one click. We have create HTTP APIs for User to Speed up the registration process and build a function login system in seconds.
Implementing Sign in with Secure
Jalsonic secure create HTTP Application programming interface (API) for your websites. Its easy to use and deploy in to your websites. Jalsonic secure build APIs very easy for those people who are new to Web Development.
Below is Your Step-by-Step Guide of how to implement sign in with secure in to your websites:
Access APIs path: http://jalsonic.com/secure/opensecure
Jalsonic secure Apis results show in json format.
Step 1: Checking user Status
If user status code is 438,means user is not login to account by jalsonic secure, else if user status code is 200,means user is online.
What do you do when user is offline. This is a API path http://jalsonic.com/secure/opensecure?continue={ Enter URL for back to your Site } it can be used to access the user data from the Jalsonic secure.
They will return an array of values in json format.
{
  "StatusCode": "438",
  "StatusMessage": "User is Offline",
  "signInWithSecureImage": "http://jalsonic.com/secure/image/sign-in-with-secure.png",
  "loginPath": "http://jalsonic.com/secure/login-form?continue=http://www.mesnor.com"
}
Name Description
Status Code 438 - for Offline, 200 - for Online
Status message User is Online, User is Offline
When user is offline then its show like this. When user is online then its show like this.
{
  "statusCode": "438",
  "statusMessage": "User is Offline",
  ......
}
{
  "statusCode": "200",
  "statusMessage": "User is Online",
  ......
}
Step 2: Creating Jalsonic secure login link.
Look at output result in json, there are 2 more names: signInWithSecureImage or loginPath.
{
  ....
  "signInWithSecureImage": "http://jalsonic.com/secure/image/sign-in-with-secure.png",
  "loginPath": "http://jalsonic.com/secure/login-form?continue=http://www.mesnor.com"
}
signInWithSecureImage:
signInWithSecureImage is a url of image of "Sign in with Secure". They will click just one time to sign in.Process can take 5 to 20 seconds to complete.
loginPath:
Request to the server
http://jalsonic.com/secure/opensecure?continue=http://www.mesnor.com
Will return an array of values
{
  "StatusCode": "438",
  "StatusMessage": "User is Offline",
  "signInWithSecureImage": "http://jalsonic.com/secure/image/sign-in-with-secure.png",
  "loginPath": "http://jalsonic.com/secure/login-form?continue=http://www.mesnor.com"
}
This is a login path where user login into the website. If you send the request like this http://jalsonic.com/secure/opensecure, user will login the form and then its move to jalsonic secure profile. If you add the parameter of continue with this link and send the request to the server like this http://jalsonic.com/secure/opensecure?continue=http://www.mesnor.com user will login the form and then its move to http://www.mesnor.com.
Step 3: User is online on the jalsonic secure.
What to do when user is online.If user is online by Jalsonic secure,they will return an array of values in json format like this.
Request to the server
http://jalsonic.com/secure/opensecure?continue=http://www.mesnor.com
Will return an array of values
{
  "statusCode": "200",
  "statusMessage": "User is Online",
  "userProfilePicture": "http://www.jalsonic.com/contentDeliveryNetwork/secureProfilePics/091120143824_3488142489_1_9559799909_thumb.jpeg",
  "userProfileCover": "http://jalsonic.com/secure/backGrounds/coverback/mountains-wide.jpg",
  "basicInformation": {
      "fullName": "IMRAN MALIK",
      "dateOfBirth_Month": "August",
      "dateOfBirth_Date": "14",
      "worldView": "Islam",
      "City": "Lahore",
      "Province": "Punjab",
        "Country": {
          "shortName": "Pakistan",
          "longName": "Islamic Republic of Pakistan"
        }
      },
        "accountInformation": {
          "accountId": "2014-3838383838381-658",
          "accountLastModified": "2014-10-21 17:48:08"
      },
  "signOutURL": "http://jalsonic.com/secure/Out?id=1&at=261"
}
NameDescription
statusCode200 - for Online
statusMessageUser is Online
userProfilePictureUser profile picture URL
userProfileCoverUser cover picture URL
basicInformation:fullNameName of User
basicInformation:dateOfBirth_MonthDate of Birth (only Month) of User
basicInformation:dateOfBirth_DateDate of Birth (only Date) of User
basicInformation:worldViewReligion of User
basicInformation:CityCity of User
basicInformation:ProvinceProvince of User
basicInformation:Country:shortNameShort name of Country of User
basicInformation:Country:longNameLong name of Country of User
accountInformation:accountIdJalsonic secure account Id of User (Its unique Id)
accountInformation:accountLastModifiedWhenever User Update his profile it show last Modified Date
signOutURLthe URL of signout. If you send this request to server you will signout from every website which attach with jalsonic secure Imp: Its shows when user is Online)
Copyright © 2019 - All rights reservedA Division of Jalsonic Networks, Inc..