Interface AuthorizationServiceFacade
-
public interface AuthorizationServiceFacade
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
singUpByPhoneNumber
ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.ConfirmationCodeTimerResponse singUpByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpByPhoneNumberRequest command)
-
singUpByEmail
ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.ConfirmationCodeTimerResponse singUpByEmail(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpByEmailRequest command)
-
signUpConfirmationByPhoneNumber
ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse signUpConfirmationByPhoneNumber(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpConfirmationByPhoneNumberRequest command)
-
signUpConfirmationByEmail
ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse signUpConfirmationByEmail(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.SignUpConfirmationByEmailRequest command)
-
usernameAuthorization
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
-
emailAuthorization
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
-
phoneNumberAuthorization
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
-
refreshToken
ru.foodtechlab.lib.auth.service.facade.authorization.dto.responses.BasicAuthorizationResponse refreshToken(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.RefreshTokenRequest command) throws AuthServiceException- Throws:
AuthServiceException
-
logout
void logout(ru.foodtechlab.lib.auth.service.facade.authorization.dto.requests.LogoutRequest command) throws AuthServiceException- Throws:
AuthServiceException
-
-