stormpath-rails 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.gitmodules +3 -0
- data/.travis.yml +1 -1
- data/CHANGELOG.md +11 -0
- data/README.md +1 -1
- data/app/controllers/stormpath/rails/register/create_controller.rb +1 -1
- data/docs/Makefile +225 -0
- data/docs/_static/facebook-new-project.png +0 -0
- data/docs/_static/facebook-url-settings.png +0 -0
- data/docs/_static/forgot-change.png +0 -0
- data/docs/_static/forgot-complete.png +0 -0
- data/docs/_static/forgot-email-sent.png +0 -0
- data/docs/_static/forgot-email.png +0 -0
- data/docs/_static/forgot-init.png +0 -0
- data/docs/_static/forgot.png +0 -0
- data/docs/_static/github_create_app.png +0 -0
- data/docs/_static/google-enable-login.png +0 -0
- data/docs/_static/google-new-project.png +0 -0
- data/docs/_static/google-oauth-settings.png +0 -0
- data/docs/_static/id-site-login.png +0 -0
- data/docs/_static/id-site-settings.png +0 -0
- data/docs/_static/id-site-stormpath-config.png +0 -0
- data/docs/_static/linkedin-add-authorized-urls.gif +0 -0
- data/docs/_static/linkedin-add-permissions.gif +0 -0
- data/docs/_static/linkedin-new-application.gif +0 -0
- data/docs/_static/linkedin-permissions-page.png +0 -0
- data/docs/_static/login-page-basic.png +0 -0
- data/docs/_static/login-page-facebook-permissions.png +0 -0
- data/docs/_static/login-page-facebook.png +0 -0
- data/docs/_static/login-page-google-account.png +0 -0
- data/docs/_static/login-page-google.png +0 -0
- data/docs/_static/login-page-linkedin.png +0 -0
- data/docs/_static/login-page.png +0 -0
- data/docs/_static/login_page_with_all_providers.png +0 -0
- data/docs/_static/registration-page-basic.png +0 -0
- data/docs/_static/registration-page-error.png +0 -0
- data/docs/_static/registration-page.png +0 -0
- data/docs/_static/verification-complete.png +0 -0
- data/docs/_static/verification-email.png +0 -0
- data/docs/_static/verification.png +0 -0
- data/docs/_templates/layout.html +6 -0
- data/docs/about.rst +72 -0
- data/docs/authentication.rst +332 -0
- data/docs/changelog.rst +41 -0
- data/docs/conf.py +346 -0
- data/docs/configuration.rst +151 -0
- data/docs/contributors.rst +56 -0
- data/docs/devise_import.rst +112 -0
- data/docs/help.rst +24 -0
- data/docs/index.rst +31 -0
- data/docs/login.rst +242 -0
- data/docs/logout.rst +73 -0
- data/docs/password_reset.rst +85 -0
- data/docs/quickstart.rst +179 -0
- data/docs/registration.rst +364 -0
- data/docs/social_login.rst +409 -0
- data/docs/templates.rst +100 -0
- data/docs/user_data.rst +216 -0
- data/lib/stormpath/rails/version.rb +1 -1
- data/stormpath-rails.gemspec +1 -1
- metadata +57 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36d62091eb523ac7ef5e343ca5ba96e62772b321
|
4
|
+
data.tar.gz: 2e7081bb0a9b8790336ff0fd1ebccc34426cfd3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f08df2b2d8d20d1a7bea7703fea21b4cd1fd118889e8e77874b24463785a2e6693ae1ce3cf537be0316f229c74a123ebad6d631807932e2818e31feb27c9b96d
|
7
|
+
data.tar.gz: 3b30a4518942c3bdec1d1b7787c14cb1957f1fedb5182b6b614674249ee931528bf6568a26bece7bdf0920af8b83bb6237220b6d3fc1cc6265b6d213d6b9bede
|
data/.gitignore
CHANGED
data/.gitmodules
ADDED
data/.travis.yml
CHANGED
@@ -21,7 +21,7 @@ after_success:
|
|
21
21
|
- if [ "$CURRENT_HASH" = "$RELEASE_HASH" ]; then DEPLOY_DOCS=true; fi
|
22
22
|
env:
|
23
23
|
global:
|
24
|
-
- STORMPATH_APPLICATION_URL=https://api.stormpath.com/v1/applications/
|
24
|
+
- STORMPATH_APPLICATION_URL=https://api.stormpath.com/v1/applications/4xz3y2Hrid4aqp5YwbNTvk
|
25
25
|
- secure: VMjIMI42vIPTMPTr0fnzSPiIjzuSAnT7iNWjhAXP9WsdaCmxwHp1vOlry4QuX8DzpKHv2MQubeUN/UA227Nk1xn+CVu9mujWOqvvjmL9m20wMJvwT4ctn7zG+FJK76id9TEyx0mCTlH4ZrRoDMGfM9yzhpsg8FtSebBDdHxePaM=
|
26
26
|
- secure: IhR6H9qxmxCDNbLK0ebYuIXQRsGA/JhD6In4V/hnSMJ8lPi2kwRn6eKclNCHGNjcy6QF1V5vddKIfKOkFFZvIyP26reygTX1g5Mfa8SqTGKh3DAW4WP+T+yaE4z4UBDK1zZpbV0Zbkw/HC0xeD8UPnjRzERX1LVZp1qeEjhQrks=
|
27
27
|
- secure: a5woUmOQPRW6FBQBaxKJATfggUD/BVTBfeRaS07u1SQOpMoGJZLY0m29PVx4fHwRD1E7ho31YIeH8wk1vMMrimIHSdE1B4pm4n8bUTi/gDFwavXq9KgTdH8f6Eli37nAXZum78m4NgL9+OlrKeJKCcROdzniZPvFaLrnOwBGzVs=
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Stormpath Rails Changelog
|
2
2
|
============================
|
3
3
|
|
4
|
+
Version 2.3.0
|
5
|
+
-------------
|
6
|
+
Released on Nov 08, 2016
|
7
|
+
- Add sphinx documentation
|
8
|
+
- Fix bug when autoLogin and email verification are both enabled
|
9
|
+
|
10
|
+
|
4
11
|
Version 2.2.0
|
5
12
|
-------------
|
6
13
|
Released on Nov 07, 2016
|
@@ -17,10 +24,14 @@ Released on Nov 02, 2016
|
|
17
24
|
Version 2.0.2
|
18
25
|
-------------
|
19
26
|
Released on Aug 29, 2016
|
27
|
+
|
20
28
|
- Render path links depending on the configuration
|
21
29
|
- Use Faker to generate random test data
|
22
30
|
- Rename all user instances to account
|
23
31
|
|
32
|
+
|
33
|
+
Version 2.0.1
|
34
|
+
-------------
|
24
35
|
Released on Aug 22, 2016
|
25
36
|
|
26
37
|
- Fix error when showing new_register_path on login page when register is disabled.
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ module Stormpath
|
|
4
4
|
class CreateController < BaseController
|
5
5
|
def call
|
6
6
|
form.save!
|
7
|
-
login_the_account if auto_login_enabled?
|
7
|
+
login_the_account if auto_login_enabled? && !email_verification_enabled?
|
8
8
|
respond_with_success
|
9
9
|
rescue RegistrationForm::FormError => error
|
10
10
|
respond_with_error(error)
|
data/docs/Makefile
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
# Makefile for Sphinx documentation
|
2
|
+
#
|
3
|
+
|
4
|
+
# You can set these variables from the command line.
|
5
|
+
SPHINXOPTS =
|
6
|
+
SPHINXBUILD = sphinx-build
|
7
|
+
PAPER =
|
8
|
+
BUILDDIR = _build
|
9
|
+
|
10
|
+
# Internal variables.
|
11
|
+
PAPEROPT_a4 = -D latex_paper_size=a4
|
12
|
+
PAPEROPT_letter = -D latex_paper_size=letter
|
13
|
+
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
14
|
+
# the i18n builder cannot share the environment and doctrees with the others
|
15
|
+
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
16
|
+
|
17
|
+
.PHONY: help
|
18
|
+
help:
|
19
|
+
@echo "Please use \`make <target>' where <target> is one of"
|
20
|
+
@echo " html to make standalone HTML files"
|
21
|
+
@echo " dirhtml to make HTML files named index.html in directories"
|
22
|
+
@echo " singlehtml to make a single large HTML file"
|
23
|
+
@echo " pickle to make pickle files"
|
24
|
+
@echo " json to make JSON files"
|
25
|
+
@echo " htmlhelp to make HTML files and a HTML help project"
|
26
|
+
@echo " qthelp to make HTML files and a qthelp project"
|
27
|
+
@echo " applehelp to make an Apple Help Book"
|
28
|
+
@echo " devhelp to make HTML files and a Devhelp project"
|
29
|
+
@echo " epub to make an epub"
|
30
|
+
@echo " epub3 to make an epub3"
|
31
|
+
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
|
32
|
+
@echo " latexpdf to make LaTeX files and run them through pdflatex"
|
33
|
+
@echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
|
34
|
+
@echo " text to make text files"
|
35
|
+
@echo " man to make manual pages"
|
36
|
+
@echo " texinfo to make Texinfo files"
|
37
|
+
@echo " info to make Texinfo files and run them through makeinfo"
|
38
|
+
@echo " gettext to make PO message catalogs"
|
39
|
+
@echo " changes to make an overview of all changed/added/deprecated items"
|
40
|
+
@echo " xml to make Docutils-native XML files"
|
41
|
+
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
|
42
|
+
@echo " linkcheck to check all external links for integrity"
|
43
|
+
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
44
|
+
@echo " coverage to run coverage check of the documentation (if enabled)"
|
45
|
+
@echo " dummy to check syntax errors of document sources"
|
46
|
+
|
47
|
+
.PHONY: clean
|
48
|
+
clean:
|
49
|
+
rm -rf $(BUILDDIR)/*
|
50
|
+
|
51
|
+
.PHONY: html
|
52
|
+
html:
|
53
|
+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
54
|
+
@echo
|
55
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
56
|
+
|
57
|
+
.PHONY: dirhtml
|
58
|
+
dirhtml:
|
59
|
+
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
|
60
|
+
@echo
|
61
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
|
62
|
+
|
63
|
+
.PHONY: singlehtml
|
64
|
+
singlehtml:
|
65
|
+
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
|
66
|
+
@echo
|
67
|
+
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
|
68
|
+
|
69
|
+
.PHONY: pickle
|
70
|
+
pickle:
|
71
|
+
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
|
72
|
+
@echo
|
73
|
+
@echo "Build finished; now you can process the pickle files."
|
74
|
+
|
75
|
+
.PHONY: json
|
76
|
+
json:
|
77
|
+
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
|
78
|
+
@echo
|
79
|
+
@echo "Build finished; now you can process the JSON files."
|
80
|
+
|
81
|
+
.PHONY: htmlhelp
|
82
|
+
htmlhelp:
|
83
|
+
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
|
84
|
+
@echo
|
85
|
+
@echo "Build finished; now you can run HTML Help Workshop with the" \
|
86
|
+
".hhp project file in $(BUILDDIR)/htmlhelp."
|
87
|
+
|
88
|
+
.PHONY: qthelp
|
89
|
+
qthelp:
|
90
|
+
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
|
91
|
+
@echo
|
92
|
+
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
|
93
|
+
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
|
94
|
+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Rails-Stormpath.qhcp"
|
95
|
+
@echo "To view the help file:"
|
96
|
+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Rails-Stormpath.qhc"
|
97
|
+
|
98
|
+
.PHONY: applehelp
|
99
|
+
applehelp:
|
100
|
+
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
|
101
|
+
@echo
|
102
|
+
@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
|
103
|
+
@echo "N.B. You won't be able to view it unless you put it in" \
|
104
|
+
"~/Library/Documentation/Help or install it in your application" \
|
105
|
+
"bundle."
|
106
|
+
|
107
|
+
.PHONY: devhelp
|
108
|
+
devhelp:
|
109
|
+
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
|
110
|
+
@echo
|
111
|
+
@echo "Build finished."
|
112
|
+
@echo "To view the help file:"
|
113
|
+
@echo "# mkdir -p $$HOME/.local/share/devhelp/Rails-Stormpath"
|
114
|
+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Rails-Stormpath"
|
115
|
+
@echo "# devhelp"
|
116
|
+
|
117
|
+
.PHONY: epub
|
118
|
+
epub:
|
119
|
+
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
|
120
|
+
@echo
|
121
|
+
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
|
122
|
+
|
123
|
+
.PHONY: epub3
|
124
|
+
epub3:
|
125
|
+
$(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
|
126
|
+
@echo
|
127
|
+
@echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."
|
128
|
+
|
129
|
+
.PHONY: latex
|
130
|
+
latex:
|
131
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
132
|
+
@echo
|
133
|
+
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
|
134
|
+
@echo "Run \`make' in that directory to run these through (pdf)latex" \
|
135
|
+
"(use \`make latexpdf' here to do that automatically)."
|
136
|
+
|
137
|
+
.PHONY: latexpdf
|
138
|
+
latexpdf:
|
139
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
140
|
+
@echo "Running LaTeX files through pdflatex..."
|
141
|
+
$(MAKE) -C $(BUILDDIR)/latex all-pdf
|
142
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
143
|
+
|
144
|
+
.PHONY: latexpdfja
|
145
|
+
latexpdfja:
|
146
|
+
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
|
147
|
+
@echo "Running LaTeX files through platex and dvipdfmx..."
|
148
|
+
$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
|
149
|
+
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
|
150
|
+
|
151
|
+
.PHONY: text
|
152
|
+
text:
|
153
|
+
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
|
154
|
+
@echo
|
155
|
+
@echo "Build finished. The text files are in $(BUILDDIR)/text."
|
156
|
+
|
157
|
+
.PHONY: man
|
158
|
+
man:
|
159
|
+
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
|
160
|
+
@echo
|
161
|
+
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
|
162
|
+
|
163
|
+
.PHONY: texinfo
|
164
|
+
texinfo:
|
165
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
166
|
+
@echo
|
167
|
+
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
|
168
|
+
@echo "Run \`make' in that directory to run these through makeinfo" \
|
169
|
+
"(use \`make info' here to do that automatically)."
|
170
|
+
|
171
|
+
.PHONY: info
|
172
|
+
info:
|
173
|
+
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
|
174
|
+
@echo "Running Texinfo files through makeinfo..."
|
175
|
+
make -C $(BUILDDIR)/texinfo info
|
176
|
+
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
|
177
|
+
|
178
|
+
.PHONY: gettext
|
179
|
+
gettext:
|
180
|
+
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
|
181
|
+
@echo
|
182
|
+
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
|
183
|
+
|
184
|
+
.PHONY: changes
|
185
|
+
changes:
|
186
|
+
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
|
187
|
+
@echo
|
188
|
+
@echo "The overview file is in $(BUILDDIR)/changes."
|
189
|
+
|
190
|
+
.PHONY: linkcheck
|
191
|
+
linkcheck:
|
192
|
+
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
|
193
|
+
@echo
|
194
|
+
@echo "Link check complete; look for any errors in the above output " \
|
195
|
+
"or in $(BUILDDIR)/linkcheck/output.txt."
|
196
|
+
|
197
|
+
.PHONY: doctest
|
198
|
+
doctest:
|
199
|
+
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
|
200
|
+
@echo "Testing of doctests in the sources finished, look at the " \
|
201
|
+
"results in $(BUILDDIR)/doctest/output.txt."
|
202
|
+
|
203
|
+
.PHONY: coverage
|
204
|
+
coverage:
|
205
|
+
$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
|
206
|
+
@echo "Testing of coverage in the sources finished, look at the " \
|
207
|
+
"results in $(BUILDDIR)/coverage/python.txt."
|
208
|
+
|
209
|
+
.PHONY: xml
|
210
|
+
xml:
|
211
|
+
$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
|
212
|
+
@echo
|
213
|
+
@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
|
214
|
+
|
215
|
+
.PHONY: pseudoxml
|
216
|
+
pseudoxml:
|
217
|
+
$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
218
|
+
@echo
|
219
|
+
@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
220
|
+
|
221
|
+
.PHONY: dummy
|
222
|
+
dummy:
|
223
|
+
$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
|
224
|
+
@echo
|
225
|
+
@echo "Build finished. Dummy builder generates no files."
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/docs/about.rst
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
.. _about:
|
2
|
+
|
3
|
+
About
|
4
|
+
=============================
|
5
|
+
|
6
|
+
Are you building a web app, but not sure if the Stormpath Rails Gem is right for you? This page will help you decide if it is a good fit!
|
7
|
+
|
8
|
+
|
9
|
+
What is Stormpath?
|
10
|
+
------------------
|
11
|
+
|
12
|
+
`Stormpath`_ is a reliable, scalable API service for managing users, authentication and authorization. Stormpath allows your web application to do things like:
|
13
|
+
|
14
|
+
- Create user accounts.
|
15
|
+
- Edit user accounts.
|
16
|
+
- Store custom user data with each account.
|
17
|
+
- Create groups and roles.
|
18
|
+
- Automate account email verification and password reset email workflows.
|
19
|
+
- Assign users various permissions (groups, roles, etc.).
|
20
|
+
- Handle complex authentication and authorization patterns.
|
21
|
+
- Log users in via social login with `Facebook`_ and `Google`_ OAuth.
|
22
|
+
- Cache user information for quick access.
|
23
|
+
- Scale your application as you get more users.
|
24
|
+
- Securely store your users and user data in a central location.
|
25
|
+
- Support token-based authentication for your Single Page Applications (SPAs)
|
26
|
+
- Allow users to authenticate with your application with OAuth
|
27
|
+
- and more!
|
28
|
+
|
29
|
+
Stormpath provides a simple REST API for all of the above. For instance, if you wanted to create a new user account given an email address and password, you could send Stormpath an ``HTTP POST`` request and Stormpath would create a new user account for you, securely hash its password using security best practices and and store it securely on Stormpath's cloud service.
|
30
|
+
|
31
|
+
In addition to allowing you to create users and groups, Stormpath also allows you to store custom data with each user account. Let's say you want to store a user's birthday -- you can send Stormpath an ``HTTP POST`` request to the user's account URL and store *any* variable JSON data (birthdays, images, movies, links, etc.). This information is encrypted and authenticated end-to-end, ensuring your user data is secure.
|
32
|
+
|
33
|
+
What is the Stormpath Rails Gem?
|
34
|
+
------------------------------------------
|
35
|
+
|
36
|
+
The Stormpath Rails Gem is a gem that makes it *incredibly* simple to add user management and authentication to your Ruby on Rails web application.
|
37
|
+
|
38
|
+
It aims to completely abstract away all user registration, login, authentication and authorization workloads as well as properly secure the web app. It is completely flexible - use only the functionality you need or leverage the entire feature set.
|
39
|
+
|
40
|
+
|
41
|
+
Who should use Stormpath?
|
42
|
+
-------------------------
|
43
|
+
|
44
|
+
Stormpath is a powerful and secure service, but might not be for everyone.
|
45
|
+
|
46
|
+
You might want to use Stormpath if:
|
47
|
+
|
48
|
+
- You want to make user creation, management, and security as simple as possible (you can get started with the Stormpath Rails Gem with ZERO lines of code *excluding settings*)
|
49
|
+
- User security is a top priority. The Stormpath API, our documents and integrations were built by Java security experts.
|
50
|
+
- Scaling your userbase is a potential problem (Stormpath handles scaling your users transparently).
|
51
|
+
- You need to store custom user data along with your user's basic information (email, password).
|
52
|
+
- You would like to have automatic email verification for new user accounts.
|
53
|
+
- You would like to configure and customize password strength rules.
|
54
|
+
- You'd like to keep your user data separate from your other applications to increase platform stability / availability.
|
55
|
+
- You are building a service oriented application or using a microservices based architecture, in which multiple independent services need access to the same user data.
|
56
|
+
- You who would like to use Stormpath, but need to host it yourself (Stormpath has private and on-premise editions you can use internally).
|
57
|
+
|
58
|
+
**Stormpath is a great match for applications of any size where security, development speed, and simplicity are top priorities.**
|
59
|
+
|
60
|
+
You might **NOT** want to use Stormpath if:
|
61
|
+
|
62
|
+
- You are building an application that does not need user accounts.
|
63
|
+
- Your application is meant for internal employee-only usage (not exposed to the public web).
|
64
|
+
- You aren't worried about user data / security much.
|
65
|
+
- You aren't worried about application availability / redundancy.
|
66
|
+
- You want to roll your own custom user authentication.
|
67
|
+
|
68
|
+
Want to use Stormpath? OK, great! Let's get started!
|
69
|
+
|
70
|
+
.. _Stormpath: https://stormpath.com/
|
71
|
+
.. _Facebook: https://www.facebook.com/
|
72
|
+
.. _Google: https://www.google.com/
|