Module one.jpro.platform.auth.core
Package one.jpro.platform.auth.core.api
Class FluentGoogleAuthAPI
java.lang.Object
one.jpro.platform.auth.core.api.FluentGoogleAuthAPI
- All Implemented Interfaces:
FluentGoogleAuth
Fluent Google Authentication API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the client id.clientSecret(String clientSecret) Set the client secret.create(javafx.stage.Stage stage) Create a Google authentication provider.redirectUri(String redirectUri) Set the redirect uri.
-
Constructor Details
-
FluentGoogleAuthAPI
public FluentGoogleAuthAPI()
-
-
Method Details
-
clientId
Description copied from interface:FluentGoogleAuthSet the client id.- Specified by:
clientIdin interfaceFluentGoogleAuth- Parameters:
clientId- the client id- Returns:
- self
-
clientSecret
Description copied from interface:FluentGoogleAuthSet the client secret.- Specified by:
clientSecretin interfaceFluentGoogleAuth- Parameters:
clientSecret- the client secret- Returns:
- self
-
redirectUri
Description copied from interface:FluentGoogleAuthSet the redirect uri.- Specified by:
redirectUriin interfaceFluentGoogleAuth- Parameters:
redirectUri- the redirect uri- Returns:
- self
-
create
Description copied from interface:FluentGoogleAuthCreate a Google authentication provider.- Specified by:
createin interfaceFluentGoogleAuth- Parameters:
stage- the stage- Returns:
- a
GoogleAuthenticationProviderinstance
-