Module one.jpro.platform.auth.core
Package one.jpro.platform.auth.core.api
Interface FluentKeycloakAuth
- All Known Implementing Classes:
FluentKeycloakAuthAPI
public interface FluentKeycloakAuth
Fluent Keycloak Authentication interface.
-
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.
-
Method Details
-
flow
Set the OAuth2 flow.- Parameters:
flow- the flow- Returns:
- self
-
site
Set the site.- Parameters:
site- the site- Returns:
- self
-
clientId
Set the client id.- Parameters:
clientId- the client id- Returns:
- self
-
clientSecret
Set the client secret.- Parameters:
clientSecret- the client secret- Returns:
- self
-
realm
Set the realm.- Parameters:
realm- the realm- Returns:
- self
-
redirectUri
Set the redirect uri.- Parameters:
redirectUri- the redirect uri- Returns:
- self
-
create
Create a Keycloak authentication provider.- Parameters:
stage- the stage- Returns:
- a
KeycloakAuthenticationProviderinstance
-