Skip navigation links
A G I L O S U V 

A

addLoginListener(Consumer<UserLoginEvent>) - Method in class org.mikotin.googlesignin.GoogleSignin
Add listener for login action
addLogoutListener(Runnable) - Method in class org.mikotin.googlesignin.GoogleSignin
Add listener for logout action NOTE: logout listeners are NOT informed of logout action, if isAutoLogout is true

G

getAppPackageName() - Method in class org.mikotin.googlesignin.GoogleSignin
App package name for android over-the-air installs.
getBrand() - Method in class org.mikotin.googlesignin.GoogleSignin
The brand being used for logo and styling.
getCookiePolicy() - Method in class org.mikotin.googlesignin.GoogleSignin
The cookie policy defines what URIs have access to the session cookie remembering the user's sign-in state.
getEmail() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getFill() - Method in class org.mikotin.googlesignin.GoogleSignin
By default the ripple expands to fill the button.
getFirstName() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getHeight() - Method in class org.mikotin.googlesignin.GoogleSignin
The height to use for the button.
getIdToken() - Method in class org.mikotin.googlesignin.events.internal.InternalSignInEvent
 
getLabelAdditional() - Method in class org.mikotin.googlesignin.GoogleSignin
An optional label for the button for additional permissions.
getLabelSignin() - Method in class org.mikotin.googlesignin.GoogleSignin
An optional label for the sign-in button.
getLabelSignout() - Method in class org.mikotin.googlesignin.GoogleSignin
An optional label for the sign-out button.
getLastName() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getLocale() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getName() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getPictureUrl() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getRaised() - Method in class org.mikotin.googlesignin.GoogleSignin
If true, the button will be styled with a shadow.
getScopes() - Method in class org.mikotin.googlesignin.GoogleSignin
The scopes to provide access to (e.g https://www.googleapis.com/auth/drive) and should be space-delimited.
getTheme() - Method in class org.mikotin.googlesignin.GoogleSignin
The theme to use for the button.
getToken() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
Thhe login-token, retrieved from succesful login
getUserId() - Method in class org.mikotin.googlesignin.events.UserLoginEvent
 
getValue() - Method in enum org.mikotin.googlesignin.GoogleSignin.Brand
 
getValue() - Method in enum org.mikotin.googlesignin.GoogleSignin.Height
 
getValue() - Method in enum org.mikotin.googlesignin.GoogleSignin.Theme
 
getValue() - Method in enum org.mikotin.googlesignin.GoogleSignin.Width
 
getWidth() - Method in class org.mikotin.googlesignin.GoogleSignin
The width to use for the button.
GoogleSignin - Class in org.mikotin.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).
GoogleSignin(String) - Constructor for class org.mikotin.googlesignin.GoogleSignin
 
GoogleSignin.Brand - Enum in org.mikotin.googlesignin
 
GoogleSignin.Height - Enum in org.mikotin.googlesignin
 
GoogleSignin.Theme - Enum in org.mikotin.googlesignin
 
GoogleSignin.Width - Enum in org.mikotin.googlesignin
 

I

InternalSignInEvent - Class in org.mikotin.googlesignin.events.internal
Custom event to capture (internally) google sign in events
InternalSignInEvent(GoogleSignin, boolean, String) - Constructor for class org.mikotin.googlesignin.events.internal.InternalSignInEvent
 
InternalSignOutEvent - Class in org.mikotin.googlesignin.events.internal
 
InternalSignOutEvent(GoogleSignin, boolean) - Constructor for class org.mikotin.googlesignin.events.internal.InternalSignOutEvent
 
isAutoLogout() - Method in class org.mikotin.googlesignin.GoogleSignin
Tells if auto-logout is active: if auto-logout is on then the google login is closed after successful login.

L

logout() - Method in class org.mikotin.googlesignin.GoogleSignin
Logout current google login

O

org.mikotin.googlesignin - package org.mikotin.googlesignin
 
org.mikotin.googlesignin.events - package org.mikotin.googlesignin.events
 
org.mikotin.googlesignin.events.internal - package org.mikotin.googlesignin.events.internal
 

S

setAppPackageName(String) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setAutoLogout(boolean) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setBrand(GoogleSignin.Brand) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setCookiePolicy(String) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setFill(boolean) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setHeight(GoogleSignin.Height) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setLabelAdditional(String) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setLabelSignin(String) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setLabelSignout(String) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setRaised(boolean) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setScopes(String) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setTheme(GoogleSignin.Theme) - Method in class org.mikotin.googlesignin.GoogleSignin
 
setWidth(GoogleSignin.Width) - Method in class org.mikotin.googlesignin.GoogleSignin
 

U

UserLoginEvent - Class in org.mikotin.googlesignin.events
 
UserLoginEvent(String, String, String, String, String, String, String, String) - Constructor for class org.mikotin.googlesignin.events.UserLoginEvent
 

V

valueOf(String) - Static method in enum org.mikotin.googlesignin.GoogleSignin.Brand
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mikotin.googlesignin.GoogleSignin.Height
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mikotin.googlesignin.GoogleSignin.Theme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.mikotin.googlesignin.GoogleSignin.Width
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mikotin.googlesignin.GoogleSignin.Brand
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mikotin.googlesignin.GoogleSignin.Height
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mikotin.googlesignin.GoogleSignin.Theme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.mikotin.googlesignin.GoogleSignin.Width
Returns an array containing the constants of this enum type, in the order they are declared.
A G I L O S U V 
Skip navigation links

Copyright © 2020 Vaadin Ltd. All rights reserved.