-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update auth library version * Add API Key for appwrite * Add API Key for appwrite in dockerfile * Pass API-Key of Appwrite as application property * Change repository * Rename Authrepository * Add authwithusertype repository * Bump com.hrv.mart:auth-library from 0.0.2 to 0.0.3 (#62) Bumps com.hrv.mart:auth-library from 0.0.2 to 0.0.3. --- updated-dependencies: - dependency-name: com.hrv.mart:auth-library dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Harsh Verma <55652117+Harsh3305@users.noreply.github.com> * Changes done related to upgrade of auth-library * Remove unused function * Add exist by and remove userBy * Update auth service. Add authWithUserType repostory in service * Remove unused imports * Minor changes --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
8075b55
commit 1f7fbf8
Showing
9 changed files
with
95 additions
and
25 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
12 changes: 12 additions & 0 deletions
12
src/main/kotlin/com/hrv/mart/backendauth/repository/AuthWithUserTypeRepository.kt
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.hrv.mart.backendauth.repository | ||
|
||
import com.hrv.mart.authlibrary.model.AuthWithUserType | ||
import org.springframework.data.mongodb.repository.ReactiveMongoRepository | ||
import org.springframework.stereotype.Repository | ||
import reactor.core.publisher.Mono | ||
|
||
@Repository | ||
interface AuthWithUserTypeRepository : ReactiveMongoRepository<AuthWithUserType, String> { | ||
fun existsByUserId(userId: String): Mono<Boolean> | ||
fun findByUserId(userId: String): Mono<AuthWithUserType> | ||
} |
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