Sha256: 40bffb97f22b1d13921793a1a7384ad68a3a123d362fe4d11b3aed993305afdc
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
# require 'action_dispatch/routing/mapper' module OAuth2 module Auth module Server module ActionDispatch::Routing class Mapper def oauth2_token_endpoint(path = 'oauth2/token') post path, :to => proc { |env| Endpoints::Token.new.call(env) } end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oauth2-auth-server-0.0.2 | lib/oauth2-auth-server/routes.rb |