| Class | Description |
|---|---|
| GoogleSignin |
A wrapper for google sign -web component, with some extra callbacks
to actually get the user-data
https://www.webcomponents.org/element/GoogleWebComponents/google-signin
Basic usage:
GoogleSignin signin = new GoogleSignin("your-google-client-id");
signin.addLoginListener(event -> {
Notification.show("Welcome, " + event.getFirstName());
});
NOTE that, by default signin has auto-logout feature on, this mean
that google-session is logged out instantly after successful login
(well, first the session is used to get basic user information,
but after that).
|
| Enum | Description |
|---|---|
| GoogleSignin.Brand | |
| GoogleSignin.Height | |
| GoogleSignin.Theme | |
| GoogleSignin.Width |
Copyright © 2020 Vaadin Ltd. All rights reserved.