Authentication
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit.
-
Initialize SDKClass : GluedInSDKInitilizeMethod : setupSDKBefore using web sdk method we need to first setup web sdk method we need to pass api key key and screcet key. We will get these key from my GluedIn website dashboard. You will get guest token these token we will further used to Call other apisRequest:
- Request Object : setUpSDKObject
- Parameters
- apiKey : API Key you will get from GluedIn portal
- secretKey : Secret Key you will get from GluedIn portal
Response:- Response Object : responseObject
- StatusCode : It return api status code (like 200,201,500,401)
- Success : It return boolean value, (true/false)
- Message : It is simple string message
var sdkInitilizeData = GluedInSDKInitilizeObj.setupSDK({ apiKey: "6fcc5173-c12d-4f51-9a98-80e8859d0434", secretKey: "e54f2718-1499-4239-91c5-a2cc5472a889" });
-
For Sign InClass : GluedInAuthModuleMethod : signInRawDataLogin through email and password with registered email and password. This method return object with user basic info like name, email and access token which is further used to access other method.Request:
- Request Object : SignInReq
- Parameters
- Email : User registered email address
- Password : User password
Response:- Response Object : SignInResponse
- StatusCode : It return api status code (like 200,201,500,401)
- Success : It return boolean value, (true/false)
- Message: It is simple string message
- data : user related data
var sdkInitilizeData = GluedInSDKInitilizeObj.setupSDK({ apiKey: "6fcc5173-c12d-4f51-9a98-80e8859d0434", secretKey: "e54f2718-1499-4239-91c5-a2cc5472a889" });
-
For Forgot PasswordClass : GluedInAuthModuleMethod : forgotPasswordUser forgot their password. User can forgot password using his registered email address.Request:
- Request Object : requestBody
- Parameters
- Email : User registered email address
Response:- Response Object : ForgotPasswordResponse
- StatusCode : It return api status code (like 200,201,500,401)
- Success : It return boolean value, (true/false)
- Message : It is simple string message
Step to Integrate