Class OmniAuth::Strategies::LastFm
In: lib/omniauth/strategies/last_fm.rb
Parent: Object

Authenticate to LastFM

@example Basic Usage

use OmniAuth::Strategies::LastFm, ‘API Key’, ‘Secret Key‘

Methods

Included Modules

OmniAuth::Strategy

Classes and Modules

Class OmniAuth::Strategies::LastFm::CallbackError

Attributes

api_key  [RW] 
options  [RW] 
secret_key  [RW] 

Public Class methods

@param [Rack Application] app standard middleware application parameter @param [String] api_key the application id as [registered on LastFM](www.last.fm/api/account) @param [String] secret_key the application secret as [registered on LastFM](www.last.fm/api/account) @option options, You can optionally specify a callback URL that is different to your API Account callback url. Include this as a query param cb

Protected Instance methods

[Validate]