module Rack::OAuth2::Sinatra::Helpers

Public Instance Methods

oauth() click to toggle source

Returns the OAuth helper.

@return [Server::Helper]

# File lib/rack/oauth2/sinatra.rb, line 58
def oauth
  @oauth ||= Server::Helper.new(request, response)
end