File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -3,30 +3,35 @@ OpenID library. Make sure you have properly installed the library
3
3
before running the examples. These examples are a great place to
4
4
start in integrating OpenID into your application.
5
5
6
- == Rails example
6
+ ## Rails example
7
7
8
- The rails_openid contains a fully functional OpenID server and relying
8
+ The ` rails_openid ` directory contains a fully functional OpenID server and relying
9
9
party, and acts as a starting point for implementing your own
10
10
production rails server. You'll need the latest version of Ruby on
11
11
Rails installed, and then:
12
12
13
- cd rails_openid
14
- ./script/server
13
+ ``` shell
14
+ cd rails_openid
15
+ ./script/server
16
+ ```
15
17
16
18
Open a web browser to http://localhost:3000/ and follow the instructions.
17
19
18
20
The relevant code to work from when writing your Rails OpenID Relying
19
21
Party is:
22
+
20
23
rails_openid/app/controllers/consumer_controller.rb
24
+
21
25
If you are working on an OpenID provider, check out
26
+
22
27
rails_openid/app/controllers/server_controller.rb
23
28
24
29
Since the library and examples are Apache-licensed, don't be shy about
25
30
copy-and-paste.
26
31
27
- == Rails ActiveRecord OpenIDStore plugin
32
+ ## Rails ActiveRecord OpenIDStore plugin
28
33
29
34
For various reasons you may want or need to deploy your ruby openid
30
- consumer/server using an SQL based store. The active_record_openid_store
35
+ consumer/server using an SQL based store. The ` active_record_openid_store `
31
36
is a plugin that makes using an SQL based store simple. Follow the
32
37
README inside the plugin's dir for usage.
You can’t perform that action at this time.
0 commit comments