class Frodo::Middleware::Authentication::Token

Authentication middleware used if oauth_token and refresh_token are set

Public Instance Methods

params() click to toggle source
# File lib/frodo/middleware/authentication/token.rb, line 6
def params
  { grant_type: 'refresh_token',
    refresh_token: @options[:refresh_token],
    client_id: @options[:client_id],
    client_secret: @options[:client_secret] }
end