From d7f177a95e2199e68511814232a8511157cc8df7 Mon Sep 17 00:00:00 2001 From: Vishal-Sharma15 <58685053+Vishal-Sharma15@users.noreply.github.com> Date: Mon, 9 Dec 2019 15:58:11 +0530 Subject: [PATCH 1/7] Initial commit --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c870234..4512902 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -We are Creating IronMan SDK For IO \ No newline at end of file +<<<<<<< HEAD +We are Creating IronMan SDK For IO +======= +# ironman +IO +>>>>>>> Initial commit From 5bb57a1710d18f79f66a0b467da325b6ff553376 Mon Sep 17 00:00:00 2001 From: ankit singh Date: Mon, 9 Dec 2019 17:51:49 +0530 Subject: [PATCH 2/7] python sdk changes --- IronMan/api/authentication/api.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/IronMan/api/authentication/api.py b/IronMan/api/authentication/api.py index d1db656..ded7e2e 100644 --- a/IronMan/api/authentication/api.py +++ b/IronMan/api/authentication/api.py @@ -66,6 +66,34 @@ def register(self, payload, verification_url=None, email_template=None): print (resource_path) return self._lr_object.execute("POST", resource_path, query_parameters, payload) + + def login(self, payload, verification_url=None, email_template=None): + """This API creates a user in the database as well as sends a verification email to the user. + + Args: + payload: Model Class containing Definition of payload for Auth User Registration API + email_template: Email template name + verification_url: Email verification url + welcome_email_template: Name of the welcome email template + + Returns: + Response containing Definition of Complete Validation, UserProfile data and Access Token + 17.1.1 + """ + if(payload is None): + raise Exception(self._lr_object.get_validation_message("payload")) + + + query_parameters = {} + query_parameters["apiKey"] = self._lr_object.get_api_key() + if(not self._lr_object.is_null_or_whitespace(email_template)): + query_parameters["emailTemplate"] = email_template + if(not self._lr_object.is_null_or_whitespace(verification_url)): + query_parameters["verificationUrl"] = verification_url + + resource_path = "/v1/login" + + return self._lr_object.execute("POST", resource_path, query_parameters, payload) From f1bf0b85afc09fc08c01b27d167d7747d3e23c5d Mon Sep 17 00:00:00 2001 From: meghalal Date: Mon, 9 Dec 2019 17:56:04 +0530 Subject: [PATCH 3/7] presentation write-o-thon --- Write-o-thon/project.md | 1168 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 1168 insertions(+) create mode 100644 Write-o-thon/project.md diff --git a/Write-o-thon/project.md b/Write-o-thon/project.md new file mode 100644 index 0000000..e3a90ba --- /dev/null +++ b/Write-o-thon/project.md @@ -0,0 +1,1168 @@ + + + + + + + Online Markdown Editor - Dillinger, the Last Markdown Editor ever. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + + +
+ + +
+
+
+ +
+ + +
+ +
+

Document Name

+ + +

Words: 159

+

Characters: 984

+
+ +
+
+

Markdown

+ Toggle Zen Mode +
+
+

Preview

+ Toggle Mode +
+ +
+
### LoginRadius helping business grow with customer experience
To succeed in this competitive era of digital identity, companies need to pay close
attention to their actual customer experience, the sum total of digital and in-person
interactions that a customer faces with a specific brand. So at a baseline, a good
customer experience needs to work, to deliver products and services with minimal
worries. And if a company wants to stay out and stay ahead, that experience needs to
be extraordinary, Unified, Personal and Pleasent.
![enter image description
here](https://apidocs.lrcontent.com/images/AA_195215dee2f4ce679e2.31293807.png "enter
image title here")
In today's world every customers know what a delightful experience feels like because
they are already interacting with the world’s best organizations like Google, Amazon,
Apple etc. So if a company’s user experience doesn’t make the rank, it’s easy for
people to switch to other brands. But if you can pull off a digital transformation
that makes it easy and enjoyable for people to be your customers, you will pull in
more revenue and stay competitive.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+
+ +
+

LoginRadius helping business grow with customer experience

+

To succeed in this competitive era of digital identity, companies need to pay close attention to their actual customer experience, the sum total of digital and in-person interactions that a customer faces with a specific brand. So at a baseline, a good customer experience needs to work, to deliver products and services with minimal worries. And if a company wants to stay out and stay ahead, that experience needs to be extraordinary, Unified, Personal and Pleasent.

+

enter image description here

+

In today’s world every customers know what a delightful experience feels like because they are already interacting with the world’s best organizations like Google, Amazon, Apple etc. So if a company’s user experience doesn’t make the rank, it’s easy for people to switch to other brands. But if you can pull off a digital transformation that makes it easy and enjoyable for people to be your customers, you will pull in more revenue and stay competitive.

+
+
+ +
+
+
+ + + + + + + + + + + + + + \ No newline at end of file From ccb7ecf0d97ea0da684927f8142cb8fe8fbbe6b8 Mon Sep 17 00:00:00 2001 From: Vishal Sharma Date: Mon, 9 Dec 2019 17:57:11 +0530 Subject: [PATCH 4/7] reset/chagne password funcution added --- IronMan/api/authentication/api.py | 56 +++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/IronMan/api/authentication/api.py b/IronMan/api/authentication/api.py index d1db656..a5acbeb 100644 --- a/IronMan/api/authentication/api.py +++ b/IronMan/api/authentication/api.py @@ -93,3 +93,59 @@ def resend_email_verification(self, email): resource_path = "/v1/email/resendverify" return self._lr_object.execute("PUT", resource_path, query_parameters, body_parameters) + + + def reset_user_password(self, resetPasswordEmailTemplate, resetToken, password): + """This API reset a user's password. + + Args: + resetPasswordEmailTemplate: The name of the template to be used to format the confirmation email sent to your user. + resetToken: The reset token retrieved from the recovery email previously sent to your user. + password: The new password to be used to authenticate your user. + + Returns: + Response containing Definition of Reset user password + """ + + query_parameters = {} + query_parameters["apiKey"] = self._lr_object.get_api_key() + + query_parameters = {} + query_parameters["resetPasswordEmailTemplate"] = resetPasswordEmailTemplate + + body_parameters = {} + body_parameters["resetToken"] = resetToken + + body_parameters = {} + body_parameters["password"] = password + + resource_path = "/v1/password/reset" + return self._lr_object.execute("PUT", resource_path, query_parameters, body_parameters) + + + def change_user_password(self, access_token, oldPassword, newPassword): + """This API change a user's password. + + Args: + access_token: A access token. + oldPassword: The current password used to authenticate your user. + newPassword: The new password to be used to authenticate your user. + + Returns: + Response containing Definition of change user password + """ + + query_parameters = {} + query_parameters["apiKey"] = self._lr_object.get_api_key() + + query_parameters = {} + query_parameters["access_token"] = access_token + + body_parameters = {} + body_parameters["oldPassword"] = oldPassword + + body_parameters = {} + body_parameters["newPassword"] = newPassword + + resource_path = "/v1/password/change" + return self._lr_object.execute("PUT", resource_path, query_parameters, body_parameters) From 1622a309edcd34ee7c55a91765f20ac9387525a7 Mon Sep 17 00:00:00 2001 From: ankit singh Date: Mon, 9 Dec 2019 18:01:46 +0530 Subject: [PATCH 5/7] python sdk changes --- IronMan/api/authentication/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IronMan/api/authentication/api.py b/IronMan/api/authentication/api.py index ded7e2e..e541f1e 100644 --- a/IronMan/api/authentication/api.py +++ b/IronMan/api/authentication/api.py @@ -68,13 +68,12 @@ def register(self, payload, verification_url=None, email_template=None): return self._lr_object.execute("POST", resource_path, query_parameters, payload) def login(self, payload, verification_url=None, email_template=None): - """This API creates a user in the database as well as sends a verification email to the user. + """This API is used to login a user. Args: payload: Model Class containing Definition of payload for Auth User Registration API email_template: Email template name verification_url: Email verification url - welcome_email_template: Name of the welcome email template Returns: Response containing Definition of Complete Validation, UserProfile data and Access Token From 7da0def44291ee0f1da245aeb82a303e75ae868e Mon Sep 17 00:00:00 2001 From: Versha Date: Mon, 9 Dec 2019 18:15:49 +0530 Subject: [PATCH 6/7] commneted --- IronMan/api/authentication/api.py | 35 ++++++++----------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/IronMan/api/authentication/api.py b/IronMan/api/authentication/api.py index 6311913..e3ff8be 100644 --- a/IronMan/api/authentication/api.py +++ b/IronMan/api/authentication/api.py @@ -13,20 +13,20 @@ def __init__(self, lr_object): self._lr_object = lr_object - def retrieve_user_identity(self, access_token, fields): + def retrieve_user_identity(self, access_token, fields = ''): """This API will return all the accepted privacy policies for the user by providing the access_token of that user. Args: access_token: Uniquely generated identifier key by IronMan that is activated after successful authentication. - - Returns: - Complete Policy History data - 15.2 + """ if(self._lr_object.is_null_or_whitespace(access_token)): raise Exception(self._lr_object.get_validation_message("access_token")) + if(not self._lr_object.is_null_or_whitespace(fields)): + query_parameters["fields"] = fields + query_parameters = {} query_parameters["access_token"] = access_token query_parameters["apiKey"] = self._lr_object.get_api_key() @@ -38,18 +38,7 @@ def retrieve_user_identity(self, access_token, fields): def register(self, payload, verification_url=None, email_template=None): """This API creates a user in the database as well as sends a verification email to the user. - Args: - payload: Model Class containing Definition of payload for Auth User Registration API - sott: IronMan Secured One Time Token - email_template: Email template name - fields: The fields parameter filters the API response so that the response only includes a specific set of fields - options: PreventVerificationEmail (Specifying this value prevents the verification email from being sent. Only applicable if you have the optional email verification flow) - verification_url: Email verification url - welcome_email_template: Name of the welcome email template - - Returns: - Response containing Definition of Complete Validation, UserProfile data and Access Token - 17.1.1 + """ if(payload is None): raise Exception(self._lr_object.get_validation_message("payload")) @@ -63,7 +52,6 @@ def register(self, payload, verification_url=None, email_template=None): query_parameters["verificationUrl"] = verification_url resource_path = "/v1/register" - print (resource_path) return self._lr_object.execute("POST", resource_path, query_parameters, payload) @@ -75,9 +63,7 @@ def login(self, payload, verification_url=None, email_template=None): email_template: Email template name verification_url: Email verification url - Returns: - Response containing Definition of Complete Validation, UserProfile data and Access Token - 17.1.1 + """ if(payload is None): raise Exception(self._lr_object.get_validation_message("payload")) @@ -101,12 +87,9 @@ def resend_email_verification(self, email): Args: email: user's email - email_template: Email template name - verification_url: Email verification url + - Returns: - Response containing Definition of Complete Validation data - 17.3 + """ if(self._lr_object.is_null_or_whitespace(email)): From 046dee852e9a4574d0ba723faee9683f68e1b6d9 Mon Sep 17 00:00:00 2001 From: vikramkothari <49442225+vikramkothari@users.noreply.github.com> Date: Mon, 9 Dec 2019 18:21:04 +0530 Subject: [PATCH 7/7] Update project.md --- Write-o-thon/project.md | 1153 +-------------------------------------- 1 file changed, 21 insertions(+), 1132 deletions(-) diff --git a/Write-o-thon/project.md b/Write-o-thon/project.md index e3a90ba..6b19cfc 100644 --- a/Write-o-thon/project.md +++ b/Write-o-thon/project.md @@ -1,1168 +1,57 @@ - - - - - - Online Markdown Editor - Dillinger, the Last Markdown Editor ever. +### LoginRadius helping business grow with customer experience - - - +To succeed in this competitive era of digital identity, companies need to pay close attention to their actual customer experience, the sum total of digital and in-person interactions that a customer faces with a specific brand. So at a baseline, a good customer experience needs to work, to deliver products and services with minimal worries. And if a company wants to stay out and stay ahead, that experience needs to be extraordinary, Unified, Personal and Pleasent. - - +- **Quick and no-time registration** : When many organizations still go with a basic and lengthy registration process, LoginRadius makes sure that every user gets a quick and no time option to register thim/herself. - - + ![enter image description here](https://apidocs.lrcontent.com/images/B_73485dee2d86350485.84999230.png "enter image title here") - - - - - - - +- **Boost customer retention** : LoginRadius makes sure to keep people coming back with a delightful experience. When your digital services are useful and smoothly enbedded, people will have no reason to look elsewhere. - - + ![enter image description here](https://apidocs.lrcontent.com/images/C_218675dee2c35402ba1.02287365.png "enter image title here") - - - +- **Increase upselling and cross-selling** : LoginRadius brings in more revenue with a personalized experience to the customers. When you know people’s preferences, you can offer what they want, when they want it, how they want it. - - - + ![enter image description here](https://apidocs.lrcontent.com/images/f8144bec-9ab6-4909-a036-d305e2e5a8b0_117215dee2bb4b78c31.04010604.png "enter image title here") - - +- **Ideal customer journey** : Starting from the first step of onboarding to the thousandth login, we create a process that is welcoming and intelligent to foster great customer relationships. - + ![enter image description here](https://apidocs.lrcontent.com/images/CJ_309765dee3254cde3c9.96222836.png "enter image title here") +- **Localization** : LoginRadius supports every available human language, so all of your registration forms, emails, and texts can be customized for your worldwide market -
- - - - -
+ ![enter image description here](https://apidocs.lrcontent.com/images/L_206805dee32d6c9c0f9.21361621.png "enter image title here") - +- **Deliver a high-performance experience** : We never allow a customer go away because our login service is down. LoginRadius has unmatched uptime, and we can handle 150K logins per second—that’s 20x more than our competitors. - - - - -
- -
-
-
- -
- - -
- -
-

Document Name

- - -

Words: 159

-

Characters: 984

-
- -
-
-

Markdown

- Toggle Zen Mode -
-
-

Preview

- Toggle Mode -
- -
-
### LoginRadius helping business grow with customer experience
To succeed in this competitive era of digital identity, companies need to pay close
attention to their actual customer experience, the sum total of digital and in-person
interactions that a customer faces with a specific brand. So at a baseline, a good
customer experience needs to work, to deliver products and services with minimal
worries. And if a company wants to stay out and stay ahead, that experience needs to
be extraordinary, Unified, Personal and Pleasent.
![enter image description
here](https://apidocs.lrcontent.com/images/AA_195215dee2f4ce679e2.31293807.png "enter
image title here")
In today's world every customers know what a delightful experience feels like because
they are already interacting with the world’s best organizations like Google, Amazon,
Apple etc. So if a company’s user experience doesn’t make the rank, it’s easy for
people to switch to other brands. But if you can pull off a digital transformation
that makes it easy and enjoyable for people to be your customers, you will pull in
more revenue and stay competitive.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-
- -
-

LoginRadius helping business grow with customer experience

-

To succeed in this competitive era of digital identity, companies need to pay close attention to their actual customer experience, the sum total of digital and in-person interactions that a customer faces with a specific brand. So at a baseline, a good customer experience needs to work, to deliver products and services with minimal worries. And if a company wants to stay out and stay ahead, that experience needs to be extraordinary, Unified, Personal and Pleasent.

-

enter image description here

-

In today’s world every customers know what a delightful experience feels like because they are already interacting with the world’s best organizations like Google, Amazon, Apple etc. So if a company’s user experience doesn’t make the rank, it’s easy for people to switch to other brands. But if you can pull off a digital transformation that makes it easy and enjoyable for people to be your customers, you will pull in more revenue and stay competitive.

-
-
- -
-
-
- - - - - - - - - - \ No newline at end of file