You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.textile
+23-15Lines changed: 23 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,24 @@
1
-
= Lasso
1
+
h1. Lasso
2
2
3
-
== Identity herding with OAuth
3
+
h2. Identity herding with OAuth
4
4
5
5
Lasso makes it damn easy to add SSO to your Rails application. Just load in your configuration, add a couple associations, and you are set to hit the trail running, partner.
6
6
7
-
== Gettings started
7
+
h3. Gettings started
8
8
9
9
I haven't made generators for anything but that's ok cause Lasso mostly works via decorators.
10
10
11
11
Lasso creates OAuth tokens via nested attributes on whichever object you deem to be the owner of those keys (e.g, current_user, current_user.account, User.new) which makes it one-to-many and quite flexible.
12
12
13
-
=== Configuration
13
+
Feel free to skim this README in addition to checking out the "Lasso/Authlogic example application that I've built.":http://github.com/jamesdaniels/lasso-example
14
+
15
+
h3. Configuration
14
16
15
17
Add this line to your environment.rb:
16
18
17
19
config.gem 'lasso'
18
20
19
-
=== Schema
21
+
h3. Schema
20
22
21
23
You are going to want a model with a schema that at least looks like this, you can call it what you wish:
22
24
@@ -28,7 +30,7 @@ You are going to want a model with a schema that at least looks like this, you c
0 commit comments