Module one.jpro.platform.auth.core
Package one.jpro.platform.auth.core.api
Interface FluentMicrosoftAuth
- All Known Implementing Classes:
FluentMicrosoftAuthAPI
public interface FluentMicrosoftAuth
Fluent Microsoft Authentication interface.
-
Method Summary
Modifier and TypeMethodDescriptionSet the client id.clientSecret(String clientSecret) Set the client secret.create(javafx.stage.Stage stage) Create a Microsoft authentication provider.redirectUri(String redirectUri) Set the redirect uri.Set the tenant.
-
Method Details
-
clientId
Set the client id.- Parameters:
clientId- the client id- Returns:
- self
-
clientSecret
Set the client secret.- Parameters:
clientSecret- the client secret- Returns:
- self
-
tenant
Set the tenant.- Parameters:
tenant- the tenant- Returns:
- self
-
redirectUri
Set the redirect uri.- Parameters:
redirectUri- the redirect uri- Returns:
- self
-
create
Create a Microsoft authentication provider.- Parameters:
stage- the stage- Returns:
- a
MicrosoftAuthenticationProviderinstance
-