Class: Rack::OAuth2::Server::Authorize
- Inherits:
-
Rack::OAuth2::Server::Abstract::Handler
- Object
- Rack::OAuth2::Server::Abstract::Handler
- Rack::OAuth2::Server::Authorize
- Defined in:
- lib/rack/oauth2/server/authorize.rb,
lib/rack/oauth2/server/authorize/code.rb,
lib/rack/oauth2/server/authorize/error.rb,
lib/rack/oauth2/server/authorize/token.rb,
lib/rack/oauth2/server/authorize/extension.rb,
lib/rack/oauth2/server/authorize/extension/code_and_token.rb
Defined Under Namespace
Modules: ErrorHandler, ErrorMethods, Extension Classes: BadRequest, Code, Request, Response, ServerError, TemporarilyUnavailable, Token
Instance Attribute Summary
Attributes inherited from Rack::OAuth2::Server::Abstract::Handler
#authenticator, #request, #response
Instance Method Summary collapse
Methods inherited from Rack::OAuth2::Server::Abstract::Handler
Constructor Details
This class inherits a constructor from Rack::OAuth2::Server::Abstract::Handler
Instance Method Details
#call(env) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/rack/oauth2/server/authorize.rb', line 5 def call(env) request = Request.new(env) response_type_for(request).new(&@authenticator).call(env).finish rescue Rack::OAuth2::Server::Abstract::Error => e e.finish end |