Ejemplo n.º 1
0
 def get(self):
     return handle_request(
         data=request.values,
         handler=VerificationService.generate_airbnb_verification_code,
         request_schema=AirbnbRequest,
         response_schema=AirbnbVerificationCodeResponse)
Ejemplo n.º 2
0
 def post(self):
     return handle_request(
         data=request.json,
         handler=VerificationService.verify_airbnb,
         request_schema=AirbnbRequest,
         response_schema=VerifyAirbnbResponse)
Ejemplo n.º 3
0
 def get(self):
     return handle_request(
         data=request.values,
         handler=VerificationService.twitter_auth_url,
         request_schema=TwitterAuthUrlRequest,
         response_schema=TwitterAuthUrlResponse)
Ejemplo n.º 4
0
 def post(self):
     return handle_request(
         data=request.json,
         handler=VerificationService.verify_twitter,
         request_schema=VerifyTwitterRequest,
         response_schema=VerifyTwitterResponse)
Ejemplo n.º 5
0
 def post(self):
     return handle_request(
         data=request.json,
         handler=VerificationService.verify_facebook,
         request_schema=VerifyFacebookRequest,
         response_schema=VerifyFacebookResponse)
Ejemplo n.º 6
0
 def get(self):
     return handle_request(
         data=request.values,
         handler=VerificationService.facebook_auth_url,
         request_schema=FacebookAuthUrlRequest,
         response_schema=FacebookAuthUrlResponse)
Ejemplo n.º 7
0
 def post(self):
     return handle_request(
         data=request.json,
         handler=VerificationService.verify_email,
         request_schema=VerifyEmailRequest,
         response_schema=VerifyEmailResponse)
Ejemplo n.º 8
0
 def post(self):
     return handle_request(
         data=request.json,
         handler=VerificationService.send_email_verification,
         request_schema=EmailVerificationCodeRequest,
         response_schema=EmailVerificationCodeResponse)
Ejemplo n.º 9
0
 def post(self):
     return handle_request(
         data=request.json,
         handler=VerificationService.generate_phone_verification_code,
         request_schema=PhoneVerificationCodeRequest,
         response_schema=PhoneVerificationCodeResponse)