opro 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +6 -22
- data/Gemfile.lock +13 -9
- data/README.md +48 -34
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/app/controllers/opro/oauth/client_app_controller.rb +19 -1
- data/app/controllers/opro/oauth/docs_controller.rb +21 -11
- data/app/controllers/opro/oauth/tests_controller.rb +6 -6
- data/app/models/opro/oauth/auth_grant.rb +6 -4
- data/app/views/opro/oauth/auth/new.html.erb +21 -22
- data/app/views/opro/oauth/client_app/edit.html.erb +14 -0
- data/app/views/opro/oauth/client_app/index.html.erb +17 -16
- data/app/views/opro/oauth/client_app/new.html.erb +19 -13
- data/app/views/opro/oauth/client_app/show.html.erb +15 -0
- data/app/views/opro/oauth/docs/index.html.erb +20 -21
- data/app/views/opro/oauth/docs/markdown/curl.md.erb +10 -10
- data/app/views/opro/oauth/docs/markdown/oauth.md.erb +6 -6
- data/app/views/opro/oauth/docs/markdown/password_exchange.md.erb +9 -9
- data/app/views/opro/oauth/docs/markdown/permissions.md.erb +1 -1
- data/app/views/opro/oauth/docs/markdown/quick_start.md.erb +21 -21
- data/app/views/opro/oauth/docs/markdown/refresh_tokens.md.erb +4 -4
- data/app/views/opro/oauth/docs/show.html.erb +4 -2
- data/app/views/opro/oauth/tests/index.html.erb +7 -7
- data/lib/generators/opro/install_generator.rb +1 -1
- data/lib/opro.rb +6 -6
- data/lib/opro/controllers/concerns/error_messages.rb +3 -3
- data/lib/opro/controllers/concerns/permissions.rb +1 -1
- data/lib/opro/rails/routes.rb +12 -3
- data/opro.gemspec +15 -17
- data/test/integration/client_app_controller_test.rb +28 -1
- data/test/integration/docs_controller_test.rb +1 -0
- data/test/models/opro/oauth/auth_grant_test.rb +7 -0
- data/test/test_helper.rb +6 -3
- metadata +91 -41
- data/app/views/opro/oauth/client_app/create.html.erb +0 -15
@@ -1,15 +0,0 @@
|
|
1
|
-
<h2>Success! Here is your OAuth Client's Credentials</h2>
|
2
|
-
<p>Copy these credentials down for use in your application</p>
|
3
|
-
<table>
|
4
|
-
<tr><td>Name: </td><td><%= @client_app.name %></td></tr>
|
5
|
-
<tr><td>Client Id: </td><td><%= @client_app.app_id %></td></tr>
|
6
|
-
<tr><td>Secret:</td><td><%= @client_app.app_secret %></td></tr>
|
7
|
-
</table>
|
8
|
-
|
9
|
-
<hr />
|
10
|
-
<p>
|
11
|
-
Read the
|
12
|
-
<%= link_to 'Quick Start Documentation', oauth_doc_path(:quick_start) %> or
|
13
|
-
<%= link_to 'Register Another Oauth Client App', new_oauth_client_app_path %>
|
14
|
-
</p>
|
15
|
-
|