Class: OauthConsumersController
  
  
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #callback2, #callback2_querystring, #destroy, included, #show
  
  
    Instance Method Details
    
      
  
  
    #callback  ⇒ Object 
  
  
  
  
    
      
15
16
17 
     | 
    
      # File 'lib/generators/oauth_consumer/templates/controller.rb', line 15
def callback
	super
end 
     | 
  
 
    
      
  
  
    #client  ⇒ Object 
  
  
  
  
    
      
19
20
21 
     | 
    
      # File 'lib/generators/oauth_consumer/templates/controller.rb', line 19
def client
  super
end 
     | 
  
 
    
      
  
  
    #index  ⇒ Object 
  
  
  
  
    
      
10
11
12
13 
     | 
    
      # File 'lib/generators/oauth_consumer/templates/controller.rb', line 10
def index
  @consumer_tokens=ConsumerToken.all :conditions=>{:user_id=>current_user.id}
  @services=OAUTH_CREDENTIALS.keys-@consumer_tokens.collect{|c| c.class.service_name}
end
     |