Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
This commit is contained in:
parent
2ad330d642
commit
b8f6dbd403
85 changed files with 3277 additions and 9 deletions
5
app/views/oauth_clients/new.html.erb
Normal file
5
app/views/oauth_clients/new.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<h1>Register a new application</h1>
|
||||
<% form_for :client_application, :url => { :action => :create } do |f| %>
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
<%= submit_tag "Register" %>
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue