Sha256: 99223516f2349bcedbab8291c05d511e1a5bc890ad5d7c50818cccf74b1b6c20

Contents?: true

Size: 725 Bytes

Versions: 19

Compression:

Stored size: 725 Bytes

Contents

This creates an OAuth Provider controller as well as the requisite models.

It requires an authentication framework such as acts_as_authenticated, restful_authentication or restful_open_id_authentication.

If you generated the migration file (true by default), make sure you run

  rake db:migrate

include the following in your user.rb

  has_many :client_applications
  has_many :tokens, :class_name=>"OauthToken",:order=>"authorized_at desc",:include=>[:client_application]

For legacy OAUTH 1.0 support add the following constant in your environment.rb

  OAUTH_10_SUPPORT = true

Note, you should only do this if you really positively require to support old OAuth1.0 clients. There is a serious security issue with this.

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
houston-oauth-plugin-0.5.1 lib/generators/oauth_provider/USAGE
panjiva-oauth-plugin-0.4.1 lib/generators/oauth_provider/USAGE
oauth-plugin-0.5.1 lib/generators/oauth_provider/USAGE
oauth-plugin-0.5.0 lib/generators/oauth_provider/USAGE
oauth-provider-0.5.0rc1 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.1 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.rc2 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.rc1 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre7 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre6 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre5 lib/generators/oauth_provider/USAGE
insrc-oauth-plugin-0.4.0.pre6 lib/generators/oauth_provider/USAGE
insrc-oauth-plugin-0.4.0.pre5 lib/generators/oauth_provider/USAGE
le1t0-oauth-plugin-0.4.0.pre4.001 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre4 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre3 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre2 lib/generators/oauth_provider/USAGE
oauth-plugin-0.4.0.pre1 lib/generators/oauth_provider/USAGE