-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the correct keyId supporting key rotation (#91)
* Use the correct keyId supporting key rotation * Add default region based on project id
- Loading branch information
Showing
62 changed files
with
245 additions
and
432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/main/java/com/descope/model/mgmt/ManagementParams.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
src/main/java/com/descope/sdk/auth/impl/AuthenticationServiceBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
package com.descope.sdk.auth.impl; | ||
|
||
import com.descope.model.auth.AuthParams; | ||
import com.descope.model.auth.AuthenticationServices; | ||
import com.descope.model.client.Client; | ||
import lombok.experimental.UtilityClass; | ||
|
||
@UtilityClass | ||
public class AuthenticationServiceBuilder { | ||
public static AuthenticationServices buildServices(Client client, AuthParams authParams) { | ||
public static AuthenticationServices buildServices(Client client) { | ||
return AuthenticationServices.builder() | ||
.authService(new AuthenticationServiceImpl(client, authParams)) | ||
.otpService(new OTPServiceImpl(client, authParams)) | ||
.samlService(new SAMLServiceImpl(client, authParams)) | ||
.totpService(new TOTPServiceImpl(client, authParams)) | ||
.oauthService(new OAuthServiceImpl(client, authParams)) | ||
.passwordService(new PasswordServiceImpl(client, authParams)) | ||
.magicLinkService(new MagicLinkServiceImpl(client, authParams)) | ||
.enchantedLinkService(new EnchantedLinkServiceImpl(client, authParams)) | ||
.webAuthnService(new WebAuthnServiceImpl(client, authParams)) | ||
.authService(new AuthenticationServiceImpl(client)) | ||
.otpService(new OTPServiceImpl(client)) | ||
.samlService(new SAMLServiceImpl(client)) | ||
.totpService(new TOTPServiceImpl(client)) | ||
.oauthService(new OAuthServiceImpl(client)) | ||
.passwordService(new PasswordServiceImpl(client)) | ||
.magicLinkService(new MagicLinkServiceImpl(client)) | ||
.enchantedLinkService(new EnchantedLinkServiceImpl(client)) | ||
.webAuthnService(new WebAuthnServiceImpl(client)) | ||
.build(); | ||
} | ||
} |
Oops, something went wrong.