dwyl / hapi-auth-google

:lollipop: Let people authenticate with your application/website using their Google Account (OAuth2)
GNU General Public License v2.0
41 stars 6 forks source link

Decorate the server with the generate_google_oauth2_url method #6

Closed SimonLab closed 9 years ago

SimonLab commented 9 years ago

Instead of exporting the generate_google_oauth2_url could we decorate the server object with this function? It will allow us to access this method without requiring the pluging multiple times.

SimonLab commented 9 years ago

The method _generate_google_oauth2url is now linked to the server object. see the PR 7