Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Commit a005416

Browse files
add registration status endpoint
1 parent c765640 commit a005416

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

authy/api/resources.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ def generate_qr(self, user_id, size=None, label=None):
272272

273273
return User(self, resp)
274274

275+
def registration_status(self, custom_user_id):
276+
resp = self.get("/protected/json/registrations/status?custom_user_id={0}".format(custom_user_id))
277+
278+
return User(self, resp)
279+
275280

276281
class Token(Instance):
277282

0 commit comments

Comments
 (0)