MongoUserCredentialsRepository
Production implementation of the UserCredentialsRepository interface using MongoDB.
This class provides methods for managing UserCredentials entities in a MongoDB database. It uses the MongoCrudUserCredentialsRepository for database operations and the UserCredentialsDocumentFactory for converting between domain models and MongoDB documents.
Annotations:
@Singleton: Marks this class as a singleton bean in the Micronaut application context.
@Requires(env = "prod"): Ensures this implementation is only active in the "prod" environment.
Constructors
Functions
Deletes a UserCredentials entity from the MongoDB database.
Finds a UserCredentials entity by its unique identifier.
Saves a new UserCredentials entity to the MongoDB database.
Updates an existing UserCredentials entity in the MongoDB database.