-
Notifications
You must be signed in to change notification settings - Fork 54
Keycloak security and profile services #224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
71238be
Add profile services
Marchosiax 85daa08
Add 2fa services, not working though
Marchosiax 048a788
Fix otp services
Marchosiax 9a1d9df
Add disable 2fa service
Marchosiax d721bea
Fix authentication error
Marchosiax 5a6ec25
Update realm config
Marchosiax 9497f9b
Removed force not null
Marchosiax File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
...keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/ChangePasswordRequest.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| data class ChangePasswordRequest( | ||
| val password: String, | ||
| val newPassword: String, | ||
| val confirmation: String, | ||
| ) |
3 changes: 3 additions & 0 deletions
3
...gement/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/Get2FAResponse.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| data class Get2FAResponse(val uri: String, val secret: String, val qr: String) |
7 changes: 7 additions & 0 deletions
7
...management/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/KycRequest.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| data class KycRequest( | ||
| val selfiePath: String, | ||
| val idCardPath: String, | ||
| val acceptFormPath: String | ||
| ) |
15 changes: 15 additions & 0 deletions
15
...ement/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/Setup2FARequest.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| class Setup2FARequest { | ||
|
|
||
| var secret: String? = null | ||
| var initialCode: String? = null | ||
|
|
||
| constructor() | ||
|
|
||
| constructor(secret: String?, initialCode: String?) { | ||
| this.secret = secret | ||
| this.initialCode = initialCode | ||
| } | ||
|
|
||
| } |
3 changes: 3 additions & 0 deletions
3
...gement/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/UploadResponse.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| data class UploadResponse(val path: String) |
This file contains hidden or 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
5 changes: 5 additions & 0 deletions
5
...loak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/UserSecurityCheckResponse.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| data class UserSecurityCheckResponse( | ||
| val otp: Boolean | ||
| ) |
8 changes: 8 additions & 0 deletions
8
...t/keycloak-gateway/src/main/kotlin/co/nilin/opex/auth/gateway/data/UserSessionResponse.kt
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package co.nilin.opex.auth.gateway.data | ||
|
|
||
| data class UserSessionResponse( | ||
| val ipAddress: String, | ||
| val started: Int, | ||
| val lastAccess: Int, | ||
| val state: String, | ||
| ) | ||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.