Contenu connexe
Similaire à OAuth Echo の Rails Gem (20)
Plus de Toru Kawamura (12)
OAuth Echo の Rails Gem
- 18. class PostsController < ApplicationController
http_basic_authenticate_with :name =>
"tkawa", :password => "secret"
def index
render :json => { :message => "Limited
Access" }
end
...
end
かんたんBasic認証
- 19. class PostsController < ApplicationController
oauth_echo_authenticate_with :twitter
def index
render :json => { :message => "Limited
Access" }
end
...
end
かんたんOAuth Echo認証