Class GoogleAuthenticationProvider

All Implemented Interfaces:
AuthenticationProvider<Credentials>

public class GoogleAuthenticationProvider extends OpenIDAuthenticationProvider
Simplified factory to create an OAuth2AuthenticationProvider for Google.
  • Field Details

    • DEFAULT_SCOPES

      public static final List<String> DEFAULT_SCOPES
  • Constructor Details

    • GoogleAuthenticationProvider

      public GoogleAuthenticationProvider(@Nullable @Nullable javafx.stage.Stage stage, @NotNull @NotNull OAuth2Options options)
      Create an OAuth2AuthenticationProvider for Google.
      Parameters:
      stage - the JavaFX application stage
      options - custom OAuth2 options
    • GoogleAuthenticationProvider

      public GoogleAuthenticationProvider(@Nullable @Nullable javafx.stage.Stage stage, @NotNull @NotNull String clientId, @NotNull @NotNull String clientSecret)
      Create an OAuth2AuthenticationProvider for Google.
      Parameters:
      stage - the JavaFX application stage
      clientId - the client id given to you by Google
      clientSecret - the client secret given to you by Google
  • Method Details