hwi/HWIOAuthBundle — pull request #37 by stloyd (2012-06-22 14:59:45+00:00)
Title: Fixed case when user have defined more than one resource owner.

Example configs:

```yaml
# config.yml
hwi_oauth:
resource_owners:
github:
type: github
client_id: %github.client_id%
client_secret: %github.client_secret%

google:
type: google
client_id: %google.client_id%
client_secret: %google.client_secret%

firewall_name: secured_area
```
```yaml
# security.yml
security:
firewalls:
secured_area:
pattern: ^/
anonymous: true
logout: true
oauth:
resource_owners:
github: /login/check-github
sensio: /login/check-sensio
login_path: /login
failure_path: /login

oauth_user_provider:
service: hwi_oauth.user.provider