Interface DataStore

  • All Known Implementing Classes:
    KeycloakImpl

    public interface DataStore
    Author:
    Ramadurai Pandian
    • Method Detail

      • getAllRoles

        io.mosip.kernel.core.authmanager.model.RolesListDto getAllRoles​(String appId)
      • getListOfUsersDetails

        io.mosip.kernel.core.authmanager.model.MosipUserListDto getListOfUsersDetails​(List<String> userDetails,
                                                                                      String appId)
                                                                               throws Exception
        Throws:
        Exception
      • getAllUserDetailsWithSalt

        io.mosip.kernel.core.authmanager.model.MosipUserSaltListDto getAllUserDetailsWithSalt​(List<String> userDetails,
                                                                                              String appId)
                                                                                       throws Exception
        Throws:
        Exception
      • getRidFromUserId

        io.mosip.kernel.core.authmanager.model.RIdDto getRidFromUserId​(String userId,
                                                                       String appId)
                                                                throws Exception
        Throws:
        Exception
      • unBlockAccount

        io.mosip.kernel.core.authmanager.model.AuthZResponseDto unBlockAccount​(String userId)
                                                                        throws Exception
        Throws:
        Exception
      • registerUser

        io.mosip.kernel.core.authmanager.model.MosipUserDto registerUser​(io.mosip.kernel.core.authmanager.model.UserRegistrationRequestDto userId)
      • addPassword

        io.mosip.kernel.core.authmanager.model.UserPasswordResponseDto addPassword​(io.mosip.kernel.core.authmanager.model.UserPasswordRequestDto userPasswordRequestDto)
      • changePassword

        io.mosip.kernel.core.authmanager.model.AuthZResponseDto changePassword​(io.mosip.kernel.core.authmanager.model.PasswordDto passwordDto)
                                                                        throws Exception
        Throws:
        Exception
      • resetPassword

        io.mosip.kernel.core.authmanager.model.AuthZResponseDto resetPassword​(io.mosip.kernel.core.authmanager.model.PasswordDto passwordDto)
                                                                       throws Exception
        Throws:
        Exception
      • getUserNameBasedOnMobileNumber

        io.mosip.kernel.core.authmanager.model.UserNameDto getUserNameBasedOnMobileNumber​(String mobileNumber)
                                                                                   throws Exception
        Throws:
        Exception
      • authenticateUser

        io.mosip.kernel.core.authmanager.model.MosipUserDto authenticateUser​(io.mosip.kernel.core.authmanager.model.LoginUser loginUser)
                                                                      throws Exception
        Throws:
        Exception
      • authenticateWithOtp

        io.mosip.kernel.core.authmanager.model.MosipUserDto authenticateWithOtp​(io.mosip.kernel.core.authmanager.model.OtpUser otpUser)
                                                                         throws Exception
        Throws:
        Exception
      • authenticateUserWithOtp

        io.mosip.kernel.core.authmanager.model.MosipUserDto authenticateUserWithOtp​(io.mosip.kernel.core.authmanager.model.UserOtp loginUser)
                                                                             throws Exception
        Throws:
        Exception
      • authenticateWithSecretKey

        io.mosip.kernel.core.authmanager.model.MosipUserDto authenticateWithSecretKey​(io.mosip.kernel.core.authmanager.model.ClientSecret clientSecret)
                                                                               throws Exception
        Throws:
        Exception
      • getUserRoleByUserId

        io.mosip.kernel.core.authmanager.model.MosipUserDto getUserRoleByUserId​(String username)
                                                                         throws Exception
        Throws:
        Exception
      • getUserDetailBasedonMobileNumber

        io.mosip.kernel.core.authmanager.model.MosipUserDto getUserDetailBasedonMobileNumber​(String mobileNumber)
                                                                                      throws Exception
        Throws:
        Exception
      • validateUserName

        io.mosip.kernel.core.authmanager.model.ValidationResponseDto validateUserName​(String userId)
      • getUserDetailBasedOnUid

        io.mosip.kernel.core.authmanager.model.UserDetailsResponseDto getUserDetailBasedOnUid​(List<String> userIds)
      • getIndividualIdFromUserId

        io.mosip.kernel.core.authmanager.model.IndividualIdDto getIndividualIdFromUserId​(String userId,
                                                                                         String realmID)
      • getListOfUsersDetails

        io.mosip.kernel.core.authmanager.model.MosipUserListDto getListOfUsersDetails​(String realmId,
                                                                                      String roleName,
                                                                                      int pageStart,
                                                                                      int pageFetch,
                                                                                      String email,
                                                                                      String firstName,
                                                                                      String lastName,
                                                                                      String username,
                                                                                      String search)