Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
React Google Login | 1,799 | 865 | 195 | 8 months ago | 94 | January 04, 2021 | 201 | mit | JavaScript | |
A React Google Login Component | ||||||||||
Make Gis Great Again | 780 | 3 years ago | 32 | mit | JavaScript | |||||
This web extension adds back "View Image" button to Google Image Search results. | ||||||||||
React Native Google Cast | 612 | 7 | 6 | 7 months ago | 53 | July 06, 2022 | 57 | mit | Java | |
React Native wrapper for the Google Cast SDK | ||||||||||
Snackbarutils | 582 | 5 years ago | 4 | apache-2.0 | Java | |||||
Snackbar工具类 | ||||||||||
Vcfloatingactionbutton | 302 | 6 years ago | 18 | mit | Objective-C | |||||
A Floating Action Button just like Google inbox for iOS | ||||||||||
Fab Toolbar | 297 | 8 years ago | 5 | mit | Java | |||||
Implementing Google's new material design FAB toolbar | ||||||||||
Vue Google Signin Button | 246 | 32 | 5 | 4 years ago | 4 | May 25, 2019 | 18 | JavaScript | ||
🔐 A simple Vue plugin to include a Google sign-in button into your web app. | ||||||||||
Google Pay Button | 213 | 3 | 2 months ago | 41 | December 13, 2022 | 2 | apache-2.0 | TypeScript | ||
Google Pay button - React, Angular, and custom element | ||||||||||
Elixir Auth Google | 198 | 1 | 2 | 2 days ago | 23 | January 25, 2023 | 5 | gpl-2.0 | Elixir | |
👤Minimalist Google OAuth Authentication for Elixir Apps. Tested, Documented & Maintained. Setup in 5 mins. 🚀 | ||||||||||
Instant Hangouts | 190 | 7 years ago | 7 | apache-2.0 | JavaScript | |||||
Easily add Google+ Hangouts to any web page. |
A good starting place for a Google Plus sign-in button. Specify your client id and you're done. Well, almost. You'll also want to set up a listener for event:google-plus-signin-success
so you can do something once your users are authenticated.
google-plus-signin.js
.directive.g+signin
as a dependency to your app.<google-plus-signin clientid="your-client-id">
to your app.$scope
for event:google-plus-signin-success
to detect when your users are authenticated.event:google-plus-signin-failure
to handle authentication errors and sign outs.1: Language (supported languages):
<google-plus-signin clientid="620125449078" language="sv"></google-plus-signin>
2: Auto Render - defaults to true. If false, will not render a context-aware button generated by the gapi.signin2.render() method
<google-plus-signin clientid="620125449078" autorender="false"></google-plus-signin>
3: Custom Target ID - When autorender is set to false, this will tell the directive what element ID to attach the sign-in click listener to.
<google-plus-signin clientid="620125449078" autorender="false" customtargetid="my-custom-element">
<div id="my-custom-element"><button>Sign In With Google</button></div>
</google-plus-signin>
Installable via bower
:
bower install angular-directive.g-signin
See the homepage for an example.
<div ng-app="directive.g+signin">
<google-plus-signin clientid="620125449078"></google-plus-signin>
<p>^ This is a Google Plus sign-in button</p>
</div>
###Handling Signin Callback from Google Plus
You can listen for event:google-plus-signin-success
and event:google-plus-signin-failure
and handle them appropriately.
$scope.$on('event:google-plus-signin-success', function (event,authResult) {
// Send login to server or save into cookie
});
$scope.$on('event:google-plus-signin-failure', function (event,authResult) {
// Auth failure or signout detected
});
MIT
♡ CopyHeart 2013 by Jerad Bitner | Copying is an act of love. Please copy.