Interface AuthService
-
- All Superinterfaces:
AuthNService,AuthZService
public interface AuthService extends AuthZService, AuthNService
- Author:
- Ramadurai Pandian
-
-
Method Summary
-
Methods inherited from interface io.mosip.kernel.core.authmanager.spi.AuthNService
authenticateUser, authenticateUser, authenticateUserWithOtp, authenticateWithOtp, authenticateWithSecretKey
-
Methods inherited from interface io.mosip.kernel.core.authmanager.spi.AuthZService
validateToken
-
-
-
-
Method Detail
-
refreshToken
RefreshTokenResponse refreshToken(String refereshToken, String refreshToken, RefreshTokenRequest refreshTokenRequest) throws Exception
- Throws:
Exception
-
invalidateToken
AuthNResponse invalidateToken(String token) throws Exception
- Throws:
Exception
-
getAllRoles
RolesListDto getAllRoles(String appId)
-
getListOfUsersDetails
MosipUserListDto getListOfUsersDetails(List<String> userDetails, String appId) throws Exception
- Throws:
Exception
-
getAllUserDetailsWithSalt
MosipUserSaltListDto getAllUserDetailsWithSalt(List<String> userDetails, String appId) throws Exception
- Throws:
Exception
-
getRidBasedOnUid
RIdDto getRidBasedOnUid(String userId, String appId) throws Exception
- Throws:
Exception
-
unBlockUser
AuthZResponseDto unBlockUser(String userId, String appId) throws Exception
- Throws:
Exception
-
changePassword
AuthZResponseDto changePassword(String appId, PasswordDto passwordDto) throws Exception
- Throws:
Exception
-
resetPassword
AuthZResponseDto resetPassword(String appId, PasswordDto passwordDto) throws Exception
- Throws:
Exception
-
getUserNameBasedOnMobileNumber
UserNameDto getUserNameBasedOnMobileNumber(String appId, String mobileNumber) throws Exception
- Throws:
Exception
-
registerUser
MosipUserDto registerUser(UserRegistrationRequestDto userCreationRequestDto)
-
addUserPassword
UserPasswordResponseDto addUserPassword(UserPasswordRequestDto userPasswordRequestDto)
-
getUserRole
UserRoleDto getUserRole(String appId, String userId) throws Exception
- Throws:
Exception
-
getUserDetailBasedonMobileNumber
MosipUserDto getUserDetailBasedonMobileNumber(String appId, String mobileNumber) throws Exception
- Throws:
Exception
-
validateUserName
ValidationResponseDto validateUserName(String appId, String userName)
-
getUserDetailBasedOnUserId
UserDetailsResponseDto getUserDetailBasedOnUserId(String appId, List<String> userIds)
-
valdiateToken
MosipUserDto valdiateToken(String token)
-
logoutUser
AuthResponseDto logoutUser(String token)
-
loginRedirect
AccessTokenResponseDTO loginRedirect(String state, String sessionState, String code, String stateCookie, String redirectURI)
-
-