Interface AuthService

    • Method Detail

      • refreshToken

        io.mosip.kernel.core.authmanager.model.RefreshTokenResponse refreshToken​(String refereshToken,
                                                                                 String refreshToken,
                                                                                 io.mosip.kernel.core.authmanager.model.RefreshTokenRequest refreshTokenRequest)
                                                                          throws Exception
        Throws:
        Exception
      • invalidateToken

        io.mosip.kernel.core.authmanager.model.AuthNResponse invalidateToken​(String token)
                                                                      throws Exception
        Throws:
        Exception
      • 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
      • getRidBasedOnUid

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

        io.mosip.kernel.core.authmanager.model.MosipUserDto registerUser​(io.mosip.kernel.core.authmanager.model.UserRegistrationRequestDto userCreationRequestDto)
      • valdiateToken

        io.mosip.kernel.core.authmanager.model.MosipUserDto valdiateToken​(String token)
      • logoutUser

        io.mosip.kernel.core.authmanager.model.AuthResponseDto logoutUser​(String token)
      • loginRedirect

        io.mosip.kernel.core.authmanager.model.AccessTokenResponseDTO loginRedirect​(String state,
                                                                                    String sessionState,
                                                                                    String code,
                                                                                    String stateCookie,
                                                                                    String redirectURI)
      • getIndividualIdBasedOnUserID

        io.mosip.kernel.core.authmanager.model.IndividualIdDto getIndividualIdBasedOnUserID​(String userId,
                                                                                            String appId)
      • 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)