This repository was archived by the owner on Jul 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,30 +3,35 @@ OpenID library. Make sure you have properly installed the library
33before running the examples. These examples are a great place to
44start in integrating OpenID into your application.
55
6- == Rails example
6+ ## Rails example
77
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
99party, and acts as a starting point for implementing your own
1010production rails server. You'll need the latest version of Ruby on
1111Rails installed, and then:
1212
13- cd rails_openid
14- ./script/server
13+ ``` shell
14+ cd rails_openid
15+ ./script/server
16+ ```
1517
1618Open a web browser to http://localhost:3000/ and follow the instructions.
1719
1820The relevant code to work from when writing your Rails OpenID Relying
1921Party is:
22+
2023 rails_openid/app/controllers/consumer_controller.rb
24+
2125If you are working on an OpenID provider, check out
26+
2227 rails_openid/app/controllers/server_controller.rb
2328
2429Since the library and examples are Apache-licensed, don't be shy about
2530copy-and-paste.
2631
27- == Rails ActiveRecord OpenIDStore plugin
32+ ## Rails ActiveRecord OpenIDStore plugin
2833
2934For 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 `
3136is a plugin that makes using an SQL based store simple. Follow the
3237README inside the plugin's dir for usage.
You can’t perform that action at this time.
0 commit comments