File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,19 @@ def sign_up_otp(
247
247
248
248
def sign_in_otp (self , method : DeliveryMethod , identifier : str ) -> None :
249
249
"""
250
- DOC
250
+ Sign in a user by OTP
251
+
252
+ Args:
253
+ method (DeliveryMethod): The OTP method you would like to verify the code
254
+ sent to you (by the same delivery method)
255
+
256
+ identifier (str): The identifier based on the chosen delivery method,
257
+ For email it should be the email address.
258
+ For phone it should be the phone number you would like to get the code
259
+ For whatsapp it should be the phone number you would like to get the code
260
+
261
+ Raise:
262
+ AuthException: for any case sign up by otp operation failed
251
263
"""
252
264
253
265
if not self ._verify_delivery_method (method , identifier ):
Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ authorized_licenses:
17
17
mit license
18
18
python software foundation
19
19
python software foundation license
20
- zpl 2.1
20
+
21
21
22
22
unauthorized_licenses:
23
23
gpl v3
24
24
gnu lgpl
25
25
lgpl with exceptions or zpl
26
+ zpl 2.1
26
27
27
28
[Authorized Packages]
28
29
# Apache-2.0 license
You can’t perform that action at this time.
0 commit comments