roguejas.blogg.se

Songkick app
Songkick app




songkick app

Resource Owner: This will almost certainly be a User. the individual or company responsible for the client application. Twitter and Facebook call this an “app”.Ĭlient Owner: The entity which owns a client, i.e. Terminology ¶ ↑Ĭlient: A third-party software system that integrates with the provider. There is not enough meaningful change going on to merit migrating to every draft version - it would simply create a lot of turbulence and make it hard to reason about exactly what semantics the library supports.ĭuring draft state, the gem version will indicate which draft it implements using the minor version, for example 0.10.2 means the second bug-fix release for draft 10. Having observed the development of the OAuth 2.0 spec over time, we have decided not to upgrade to later drafts until the spec is finalized.

songkick app

This library is based on draft-10, which was current when we began writing it. Installation ¶ ↑ gem install songkick - oauth2 - provider A note on versioning ¶ ↑ It stores the clients and authorizations using ActiveRecord. Its API uses Rack request-environment hashes rather than framework-specific request objects, though you can pass those in and their request.env property will be used internally. It is also designed to be usable within any web frontend, at least those of Rails and Sinatra. All you have to deal with is authenticating your users and letting them grant access to client apps. It handles most of the protocol for you: it is designed to provide a sufficient level of abstraction that it can implement updates to the protocol without affecting your application code at all. This gem provides a toolkit for adding OAuth2 provider capabilities to a Ruby web app.






Songkick app