Class FeignHTTPAuthorizationServiceFacade
- java.lang.Object
-
- ru.foodtechlab.lib.auth.integration.restapi.feign.authorization.impl.FeignHTTPAuthorizationServiceFacade
-
- All Implemented Interfaces:
ru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade
@Component public class FeignHTTPAuthorizationServiceFacade extends Object implements ru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade
-
-
Constructor Summary
Constructors Constructor Description FeignHTTPAuthorizationServiceFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ru.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)
-
-
-
Method Detail
-
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 ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException, ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.BadCredentialsExceptions- Specified by:
usernameAuthorizationin interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade- Throws:
ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceExceptionru.foodtechlab.lib.auth.integration.core.authorizartion.exception.BadCredentialsExceptions
-
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 interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade
-
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 interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade
-
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 interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade
-
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 interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade
-
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 ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException, ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.BadCredentialsExceptions- Specified by:
phoneNumberAuthorizationin interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade- Throws:
ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceExceptionru.foodtechlab.lib.auth.integration.core.authorizartion.exception.BadCredentialsExceptions
-
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 ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException, ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.BadCredentialsExceptions- Specified by:
emailAuthorizationin interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade- Throws:
ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceExceptionru.foodtechlab.lib.auth.integration.core.authorizartion.exception.BadCredentialsExceptions
-
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 ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException- Specified by:
refreshTokenin interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade- Throws:
ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException
-
logout
public void logout(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.LogoutRequest command) throws ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException- Specified by:
logoutin interfaceru.foodtechlab.lib.auth.integration.core.authorizartion.AuthorizationServiceFacade- Throws:
ru.foodtechlab.lib.auth.integration.core.authorizartion.exception.AuthServiceException
-
-