Module one.jpro.platform.auth.core
Package one.jpro.platform.auth.core.api
Class FluentMicrosoftAuthAPI
java.lang.Object
one.jpro.platform.auth.core.api.FluentMicrosoftAuthAPI
- All Implemented Interfaces:
FluentMicrosoftAuth
Fluent Microsoft 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 Microsoft authentication provider.redirectUri(String redirectUri) Set the redirect uri.Set the tenant.
-
Constructor Details
-
FluentMicrosoftAuthAPI
public FluentMicrosoftAuthAPI()
-
-
Method Details
-
clientId
Description copied from interface:FluentMicrosoftAuthSet the client id.- Specified by:
clientIdin interfaceFluentMicrosoftAuth- Parameters:
clientId- the client id- Returns:
- self
-
clientSecret
Description copied from interface:FluentMicrosoftAuthSet the client secret.- Specified by:
clientSecretin interfaceFluentMicrosoftAuth- Parameters:
clientSecret- the client secret- Returns:
- self
-
tenant
Description copied from interface:FluentMicrosoftAuthSet the tenant.- Specified by:
tenantin interfaceFluentMicrosoftAuth- Parameters:
tenant- the tenant- Returns:
- self
-
redirectUri
Description copied from interface:FluentMicrosoftAuthSet the redirect uri.- Specified by:
redirectUriin interfaceFluentMicrosoftAuth- Parameters:
redirectUri- the redirect uri- Returns:
- self
-
create
Description copied from interface:FluentMicrosoftAuthCreate a Microsoft authentication provider.- Specified by:
createin interfaceFluentMicrosoftAuth- Parameters:
stage- the stage- Returns:
- a
MicrosoftAuthenticationProviderinstance
-