Sha256: 33fc498141390524399260d51fa49a048058d734ea8d0939fea24fd9afd6141e

Contents?: true

Size: 285 Bytes

Versions: 19

Compression:

Stored size: 285 Bytes

Contents

Rails.application.routes.draw do
  match 'oauth2/authorize', to: 'authorizations#new'
  post  'oauth2/token', to: proc { |env| SocialStream::Oauth2Server::TokenEndpoint.new.call(env) }

  resources :authorizations, only: :create

  namespace "site" do
    resources :clients
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
social_stream-2.1.1 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.1.1 config/routes.rb
social_stream-2.1.0 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.1.0 config/routes.rb
social_stream-2.0.4 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.3 config/routes.rb
social_stream-2.0.3 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.2 config/routes.rb
social_stream-2.0.2 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.1 config/routes.rb
social_stream-2.0.1 oauth2_server/config/routes.rb
social_stream-2.0.0 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.0 config/routes.rb
social_stream-2.0.0.beta3 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.0.beta3 config/routes.rb
social_stream-2.0.0.beta2 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.0.beta2 config/routes.rb
social_stream-2.0.0.beta1 oauth2_server/config/routes.rb
social_stream-oauth2_server-2.0.0.beta1 config/routes.rb