Interface AuthService
-
- All Superinterfaces:
AuthNService,AuthZService
public interface AuthService extends AuthZService, AuthNService
- Author:
- Ramadurai Pandian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.mosip.kernel.core.authmanager.model.RolesListDtogetAllRoles(String appId)io.mosip.kernel.core.authmanager.model.MosipUserSaltListDtogetAllUserDetailsWithSalt(List<String> userDetails, String appId)io.mosip.kernel.core.authmanager.model.IndividualIdDtogetIndividualIdBasedOnUserID(String userId, String appId)StringgetKeycloakURI(String redirectURI, String state)io.mosip.kernel.core.authmanager.model.MosipUserListDtogetListOfUsersDetails(String realmId, String roleName, int pageStart, int pageFetch, String email, String firstName, String lastName, String username, String search)io.mosip.kernel.core.authmanager.model.MosipUserListDtogetListOfUsersDetails(List<String> userDetails, String appId)io.mosip.kernel.core.authmanager.model.RIdDtogetRidBasedOnUid(String userId, String appId)io.mosip.kernel.core.authmanager.model.AuthNResponseinvalidateToken(String token)io.mosip.kernel.core.authmanager.model.AccessTokenResponseDTOloginRedirect(String state, String sessionState, String code, String stateCookie, String redirectURI)io.mosip.kernel.core.authmanager.model.AuthResponseDtologoutUser(String token)io.mosip.kernel.core.authmanager.model.RefreshTokenResponserefreshToken(String refereshToken, String refreshToken, io.mosip.kernel.core.authmanager.model.RefreshTokenRequest refreshTokenRequest)io.mosip.kernel.core.authmanager.model.MosipUserDtoregisterUser(io.mosip.kernel.core.authmanager.model.UserRegistrationRequestDto userCreationRequestDto)io.mosip.kernel.core.authmanager.model.MosipUserDtovaldiateToken(String token)-
Methods inherited from interface io.mosip.kernel.openid.bridge.api.service.AuthNService
authenticateUser, authenticateUser, authenticateUserWithOtp, authenticateWithOtp, authenticateWithSecretKey
-
Methods inherited from interface io.mosip.kernel.openid.bridge.api.service.AuthZService
validateToken
-
-
-
-
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)
-
-