Module one.jpro.platform.auth.core
Package one.jpro.platform.auth.core.api
Class FluentKeycloakAuthAPI
java.lang.Object
one.jpro.platform.auth.core.api.FluentKeycloakAuthAPI
- All Implemented Interfaces:
FluentKeycloakAuth
Fluent Keycloak 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 Keycloak authentication provider.flow(OAuth2Flow flow) Set the OAuth2 flow.Set the realm.redirectUri(String redirectUri) Set the redirect uri.Set the site.
-
Constructor Details
-
FluentKeycloakAuthAPI
public FluentKeycloakAuthAPI()
-
-
Method Details
-
flow
Description copied from interface:FluentKeycloakAuthSet the OAuth2 flow.- Specified by:
flowin interfaceFluentKeycloakAuth- Parameters:
flow- the flow- Returns:
- self
-
site
Description copied from interface:FluentKeycloakAuthSet the site.- Specified by:
sitein interfaceFluentKeycloakAuth- Parameters:
site- the site- Returns:
- self
-
clientId
Description copied from interface:FluentKeycloakAuthSet the client id.- Specified by:
clientIdin interfaceFluentKeycloakAuth- Parameters:
clientId- the client id- Returns:
- self
-
clientSecret
Description copied from interface:FluentKeycloakAuthSet the client secret.- Specified by:
clientSecretin interfaceFluentKeycloakAuth- Parameters:
clientSecret- the client secret- Returns:
- self
-
realm
Description copied from interface:FluentKeycloakAuthSet the realm.- Specified by:
realmin interfaceFluentKeycloakAuth- Parameters:
realm- the realm- Returns:
- self
-
redirectUri
Description copied from interface:FluentKeycloakAuthSet the redirect uri.- Specified by:
redirectUriin interfaceFluentKeycloakAuth- Parameters:
redirectUri- the redirect uri- Returns:
- self
-
create
Description copied from interface:FluentKeycloakAuthCreate a Keycloak authentication provider.- Specified by:
createin interfaceFluentKeycloakAuth- Parameters:
stage- the stage- Returns:
- a
KeycloakAuthenticationProviderinstance
-