Class FeignHTTPAuthorizationServiceFacade
java.lang.Object
ru.foodtechlab.lib.auth.integration.restapi.feign.authorization.impl.FeignHTTPAuthorizationServiceFacade
- All Implemented Interfaces:
AuthorizationServiceFacade
@Component
public class FeignHTTPAuthorizationServiceFacade
extends Object
implements AuthorizationServiceFacade
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponseemailAuthorization(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.EmailAuthorizationRequest command) voidlogout(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.LogoutRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponsephoneNumberAuthorization(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.PhoneNumberAuthorizationRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponserefreshToken(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.RefreshTokenRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponsesignUpConfirmationByEmail(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpConfirmationByEmailRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponsesignUpConfirmationByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpConfirmationByPhoneNumberRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.ConfirmationCodeTimerResponsesingUpByEmail(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpByEmailRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.ConfirmationCodeTimerResponsesingUpByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpByPhoneNumberRequest command) ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponseusernameAuthorization(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.UsernameAuthorizationRequest command)
-
Constructor Details
-
FeignHTTPAuthorizationServiceFacade
public FeignHTTPAuthorizationServiceFacade()
-
-
Method Details
-
usernameAuthorization
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse usernameAuthorization(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.UsernameAuthorizationRequest command) throws AuthServiceException, BadCredentialsExceptions - Specified by:
usernameAuthorizationin interfaceAuthorizationServiceFacade- Throws:
AuthServiceExceptionBadCredentialsExceptions
-
singUpByPhoneNumber
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.ConfirmationCodeTimerResponse singUpByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpByPhoneNumberRequest command) - Specified by:
singUpByPhoneNumberin interfaceAuthorizationServiceFacade
-
singUpByEmail
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.ConfirmationCodeTimerResponse singUpByEmail(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpByEmailRequest command) - Specified by:
singUpByEmailin interfaceAuthorizationServiceFacade
-
signUpConfirmationByPhoneNumber
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse signUpConfirmationByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpConfirmationByPhoneNumberRequest command) - Specified by:
signUpConfirmationByPhoneNumberin interfaceAuthorizationServiceFacade
-
signUpConfirmationByEmail
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse signUpConfirmationByEmail(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpConfirmationByEmailRequest command) - Specified by:
signUpConfirmationByEmailin interfaceAuthorizationServiceFacade
-
phoneNumberAuthorization
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse phoneNumberAuthorization(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.PhoneNumberAuthorizationRequest command) throws AuthServiceException, BadCredentialsExceptions - Specified by:
phoneNumberAuthorizationin interfaceAuthorizationServiceFacade- Throws:
AuthServiceExceptionBadCredentialsExceptions
-
emailAuthorization
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse emailAuthorization(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.EmailAuthorizationRequest command) throws AuthServiceException, BadCredentialsExceptions - Specified by:
emailAuthorizationin interfaceAuthorizationServiceFacade- Throws:
AuthServiceExceptionBadCredentialsExceptions
-
refreshToken
public ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse refreshToken(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.RefreshTokenRequest command) throws AuthServiceException - Specified by:
refreshTokenin interfaceAuthorizationServiceFacade- Throws:
AuthServiceException
-
logout
public void logout(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.LogoutRequest command) throws AuthServiceException - Specified by:
logoutin interfaceAuthorizationServiceFacade- Throws:
AuthServiceException
-